Re: Htmltext: storing data in markup

2011-01-30 Thread David Bovill
linkdata would be nice, but most of the benefit we can have already by associating an array with a keyword stored in the linktext ("name=") htmltext markup. What I'm missing is the ability to markup text content and apply styles of easily extract semantic chunks of that content - the way you can

Re: Htmltext: storing data in markup

2011-01-30 Thread Sivakatirswami
On 1/27/11 4:05 AM, Richard Gaskin wrote: If you may also have links in some of those runs, you may be interested in this request for a linkData chunk property, which would allow us to use any number of attributes in tags, returned in an array as with clipboardData and dragData:

Re: Htmltext: storing data in markup

2011-01-27 Thread David Bovill
Sounds good Ben On 27 January 2011 14:20, Ben Rubinstein wrote: > > A technique I used a few years ago, which worked out well, was to use the > low-order bits of the colour to code an ID that my code could associate with > whatever it liked. By reserving two bits each from R/G/B one immediately

Re: Htmltext: storing data in markup

2011-01-27 Thread Ben Rubinstein
On 27/01/2011 13:38, David Bovill wrote: Anyone got any suggestions / experience in using htmltext to store data / metadata. Most of the time is strips out any additional tags you might add (which is a great pity) - but I've found it useful to use markup like: For this text Are there any other

Re: Htmltext: storing data in markup

2011-01-27 Thread Richard Gaskin
David Bovill wrote: Anyone got any suggestions / experience in using htmltext to store data / metadata. Most of the time is strips out any additional tags you might add (which is a great pity) - but I've found it useful to use markup like: For this text Are there any other tags that can be use