How to remove highlighting created from SearchEngine.find

Post a reply

Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :arrow: :| :mrgreen: :geek: :ugeek:
BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON
Topic review
   

Expand view Topic review: How to remove highlighting created from SearchEngine.find

Re: How to remove highlighting created from SearchEngine.fin

Post by kosmos891 » Wed Aug 07, 2013 9:59 am

@robert, thanks for your reply
Sorry I was wrong.
SearchEngine only selects the text found

I thought that SearchEngine highlights the text found.
I am a new programmer. Now it's clear. I want to deselect selected text in RSyntaxTextArea.

Code: Select all
int end = rsyntaxTextArea.getSelectionEnd();
rsyntaxTextArea.setSelectionStart(end);
rsyntaxTextArea.setSelectionEnd(end);


Thanks again

Re: How to remove highlighting created from SearchEngine.fin

Post by robert » Tue Aug 06, 2013 1:11 pm

I'm not sure what highlights you're referring to; SearchEngine only selects the text found (or replaced), it doesn't add any special highlights. Are you referring to the "mark all" highlights, or perhaps those left by "mark occurrences"?

How to remove highlighting created from SearchEngine.find

Post by kosmos891 » Thu Aug 01, 2013 5:36 am

I use the SearchEngine.find method to find instances of a specified string.

How do I remove the highlighting of the instance?

Top