Posted 18 years ago
by Corey Young
-
Programmer,
Mozenda
This may be simple, but I cannot find the answer in the documentation at the moment. I need to have the ability to select multiple parts of a document simultaneously. For example, if I wanted to have all instances of the word 'tree' selected within a document, and I knew all of the relevant positions of the word thoughout the document using the data from Regex.Matches, is there a way for me to currently do this with the SyntaxEditor? The documentation suggests that there is ever only one selection object, not a group of multiple.
If I am unable to do what I've described above (through selections), what other methods/features would you suggest in order to accomplish the same results? For example, can I programatically add and remove a highlighting style for a given regex pattern through out the document?
Any examples?
Thanks in advance.
If I am unable to do what I've described above (through selections), what other methods/features would you suggest in order to accomplish the same results? For example, can I programatically add and remove a highlighting style for a given regex pattern through out the document?
Any examples?
Thanks in advance.
-Corey