Re: [racket-users] Adding custom payload data to text%

2018-01-05 Thread Erich Rast
Thanks a lot, that's a cool data structure and I was thinking about something similar. (Actually, I was thinking about the "chart" in "chart parser" and was about to look up how these are usually implemented.) I'm reluctant to do it on the side, though, because experience has told me that these ki

Re: [racket-users] Adding custom payload data to text%

2018-01-05 Thread Robby Findler
The arrows, docs information, etc that Check Syntax draws use a data/interval-map to manage that kind of information on the side. https://docs.racket-lang.org/data/interval-map.html hth, Robby On Fri, Jan 5, 2018 at 8:58 AM, Erich Rast wrote: > Hi all, > > Is there a way to associate custom pay

[racket-users] Adding custom payload data to text%

2018-01-05 Thread Erich Rast
Hi all, Is there a way to associate custom payload data to individual characters and image snips in a text% instance? Maybe some package or framework class that already exists? I'd like to add custom data that is independent of styles but behaves like them. Basically, I need to keep track of arbi