[plt-scheme] unhighlighting previously highlighted ranges

From: "M. Fatih Köksal" (fkoksal at cs.bilgi.edu.tr)
Date: Wed Jul 29 11:08:58 EDT 2009


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
URL: <http://lists.racket-lang.org/users/archive/attachments/20090729/71be9fd9/attachment.sig>

Posted on the users mailing list.