Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Notepad++ find next same word

Tags:

notepad++

In notepad++,when I select a word, all the same word is highlighted, but it's sometimes hard to find next word if the text is too long. I can use the Ctrl+F3 to search for the next match word, However the other words containing the desired word is also found as the result. For example:

scroll:true
scrollSpeed:10
/********foo  **********/
if(scroll){/***** dsferaga#%$R&*^%*&^*********/}

when I select "scroll","scroll" in the first and forth line will be highlighted,but not the "scrollSpeed".when I want to jump to the next "scroll",I use Ctrl+F3 and It went to the "scrollSpeed" in the second line.

Is there an proper shortcut for that?

like image 818
Guan Yuxin Avatar asked Feb 18 '12 13:02

Guan Yuxin


2 Answers

Open the Find dialog (Ctrl+F) and tick the "Match whole word only" checkbox. The next time you use Ctrl+F3 that option will still be active.

Tested on version 5.8.1.

like image 124
ellak Avatar answered Oct 13 '22 09:10

ellak


I believe you need to set whole word only option

like image 38
francesco Avatar answered Oct 13 '22 10:10

francesco