Code example of capturing highlight text
Posted on 2011-09-05
I am looking for a small example of highlighting text and putting it into variables or showing it as selected. for example: to have 3 boxes/variables called noun, verb, adjective. in the program, we put it text, then the user can highlight a noun and click on noun button and assign it to the noun variable. The same for verb, adjective, etc...
It would be great if it could do column/block selection also. i.e The user can select a column of text instead of just a vertical line.