
@robby what’s the purpose of exporting the framework text:
range functions in: (define-signature text-basic-functions^
(range?
range-start
range-end
range-caret-space?
range-style
range-color
lookup-port-name))

Oh, without some accessors (send a-text:basic get-highlighted-ranges) → (listof text:range?)
is pointless, and those are exactly the fields used in text-delegate.rkt
to reference all the ranges and send them to be unhighlighted in set-delegate
. Could that just use unhighlight-ranges
with (lambda _ #t)
.

Ultimately, I’m returning to my tightlight tool and want the least hacky and most illustrative way to implement it before documenting and publishing an implementation (of possibly reduced functionality).

So asking more about the spirit of the implementation of text-basic.rkt
.

Yes I think that’s it.

How can I help?