logo       

Re: [plt-scheme] unhighlighting previously highlighted ranges: msg#00585

plt-scheme

Subject: Re: [plt-scheme] unhighlighting previously highlighted ranges

For now, you have to call unhighlight-range with the same arguments
you passed to highlight-range, or call the thunk that highlight-range
returns.

I've added exports for the range accessors to the framework in SVN
(but only on a branch for now, I'm sorry to say. Hopefully I'll be
able to merge it in soon).

Robby

2009/7/29 "M. Fatih KÃksal" <fkoksal@xxxxxxxxxxxxxxx>:
> Hi,
>
> I'm trying to unhighlight previously highlighted ranges in a
> color:text%. What would be the appropriate way of doing it?
>
> There is the "get-highlighted-ranges" method, which returns (listof
> range). However, I couldn't process the returned range structure. It's
> defined as;
>
> (define-struct range (start end caret-space? style color) #:inspector #f)
>
> in ./framework/private/text.ss, but, it's not provided.
>
> M. Fatih KÃksal
> Ästanbul Bilgi University
> Department of Computer Science
>
>
> _________________________________________________
> ÂFor list-related administrative tasks:
> Âhttp://list.cs.brown.edu/mailman/listinfo/plt-scheme
>
>
_________________________________________________
For list-related administrative tasks:
http://list.cs.brown.edu/mailman/listinfo/plt-scheme

<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | Mail Home | sitemap | FAQ | advertise