Wednesday, June 15, 2011

gnocl::text tags

Did some more work on text tags today. In doing so I learnt a lot about the cget subcommand and current use. Also implemented -data option for tags.

What I need to do next is:

1) return a list of tags at the specified position as row,col and x,y.
e.g. $txt tag get -position {r c},  and $txt tag get -cursor {x y} 

2) clear tags within a specfied range
e.g $txt tag clear from to -tags {tag1 tag2...}

No comments: