I'm using SynEdit on Delphi7.
I am building an editor where the user can actually not write directly, but drag items to it. Next draggable item depends on the syntax of the previous items.
My question is how I can have the user select an entire token or block of tokens simply by having his mouse over a token. Also automatic highlighting of the token by having the onMouseOver on that token would do as long as the user could click on the highlight and do the selection.
I need to be able to select entire token or contents of parenthesis and not just few chars.
(([mytoken]>=[myOtherToken]) or ([mytoken]=25))
when the user is over [mytoken] for example and tries to select, I want all the word to be selected, or if he extends his mouse over the token, the entire parenthesis block to be selected, and if even further select all the content of the outer parenthesis as well...