How can i prevent NPP to add any text by itself in the search string ?
-
hi all. While trying to use find function there is a text added at the search string. This text is from the cursor area, whenever this text was selected it always at the search string if there is a text near the cursor. How can i prevent NPP to add any text by itself in the search string ?
-
How can i prevent NPP to add any text by itself in the search string ?
Natively, afaik, you can’t - at least at the moment.
But may I ask you why this is an issue at all?
Because when the dialog opens, the find part is highlighted/selected, which means
as soon as you start typing it overwrites the text.Cheers
Claudia -
Yes, you right. Thank you. Don’t know why this window confused me, selected text the reason inserting text should not be a trouble.
-
Hello Claudia and @Александр-Сухоруков,
But may I ask you why this is an issue at all?
The user may often want to use the last search-term and not the current word.
Personally, I find the Incremental-Bar behavior more convenient.A preference for this can be helpful IMO.
Best regards.
-
I can think of a related thing to this that annoys me. I put the caret where I want my (downward) search to start, then I press ctrl+f. Then I enter my search string and invoke Find Next. Well, I notice my search begins after the word where I wanted it to. Maybe this helps show it:
In this search, say I wanted to find an “a” in the first word…the search finds the first “a” in the second word. I know why this is, I just find it annoying sometimes.
-
Done in commit
Make filling find field of Find dialog with selected word(s) optional
:
https://github.com/notepad-plus-plus/notepad-plus-plus/commit/7a1096de5b3618bc3e6611e6c25caac952d41ae2It will come with v7.8.3