- AuthorPosts
- July 19, 2012 at 5:30 pm #10448shreyankParticipant
Hello,
Is there a way to find the next instance of the currently selected text. So that when you run this command with a selected piece of text, the application would move to the next sequence of that text and highlight all sequences of that text in the document. This would be analogous to the “Find Selected Text” command in BBEdit and “Quick Find” in Sublime Text.
thanks,
-shreyJuly 19, 2012 at 6:36 pm #10449StefanParticipantHi shrey, welcome.
1.) Normal that is done by pressing Ctrl+F3 (Shift+F3 for backwards)
BTW, It is enough to have the cursor on an word or sign.
No need to select something.
This works even for signs like “=” without selecting first.2.) Since that is an kind of an search,
all other occurrences are highlighted too.See “Tools > …Config.. > [Display] Search String” for settings.
And with “Search Colors [ 1]” you can even set to highlight
more then just the last search but the last two, or three, or…3.) To remove that current highlighting from view, press Alt+F3.
Example:
Having the cursor somewhere inside of the word “sc|ript“.
Pressing now the key combination “Ctrl+F3”
will jump to the next occurrence of that word
AND search-highlight all occurrences of that word in the whole document.Pressing “Shift+F3” jumps backwards to the last occurrence.
Pressing “Alt+F3” will remove the highlighting from view.
<script src='xxx/scripts/shCore.js'></script>
<script src='xxx/scripts/shBrushCpp.js'></script>
<script src='xxx/scripts/shBrushCSharp.js'></script>
HTH?
BTW: to highlight some words on demand, you may want
to take an look at MARKERS > http://www.emeditor.com/modules/feature1/rewrite/tc_39.html.
July 20, 2012 at 1:20 pm #10452shreyankParticipantThanks for the fast reply. That’s exactly what I’m looking for. And the new markers feature is awesome!
-shrey - AuthorPosts
- You must be logged in to reply to this topic.