Notepad++ 7.5.7 release
-
Longtime fan - first-time bug report.
**I noticed the Find feature isn’t working. See the linked image below. **I searched for a word the normal way, no luck.
Then I tried selecting all the text and finding the word, no luck again.
The find on the Replace tab doesn’t work.
The new find » button doesn’t work either.
The count button works
The Find All in Current Document worksI use this feature a lot in Notepad++.
For now, I’ll roll back to an earlier version.When I encounter the simple done well, I pause - reflect and say, thank you.
So, thank you again, for your ongoing efforts to make such an amazing text editor.with a handshake,
Joe -
It all works fine for me. Can’t really tell what you are doing exactly, though, in order to comment further.
…EXCEPT for this case, because you have the screenshot of that one:
Then I tried selecting all the text and finding the word, no luck again.
What is going on in this case is that the search is starting right AFTER the lower end of the selection. And since you are searching in the forward-direction (Backward direction not ticked) and you aren’t wrapping the search at end-of-file (Wrap around not ticked), the expected result is no hit for your search–by doing a select-all before the search you basically gave it no range to search!
You can verify this by making the following selection and conducting the same search, and observing that it will “hit” on the
Fix
on line 11 (bullet point 9 in the change.log): -
Hello, @scott-sumner and All,
Ah, Scott, I’ve never noticed this interesting point, indeed ! So, again, a new rule to remember :
When, both, the
Backwark direction
and theWrap around
options are unset in the Find or Replace dialog AND if a “Select-all” operation (Ctrl + A
) has been done, any search is irrelevant, as there is no search range at all !!
Not related with this post but I noticed, when doing tests in the Mark panel, that the
In selection
option is available. So, we may highlight/bookmark a subset of the current file, only, and navigate between all the matches, of this subset, with theCtrl + 0
andCtrl + Shift + 0
shortcuts ;-))Best Regards,
guy038
-
I think you’re putting too many conditions on the “new rule”. It is certainly true the way you stated it, but…
Here’s how it works when a selection is active: Find will start at the highest position of the main selection (there could be more than one selection in the case of “Multi-Editing” being enabled)–and we’re not talking rectangular selections right now) and will start looking beyond that position (forward-direction search) or behind that position (backward-direction search) when Find-Next is pressed. In the case of a rectangular selection, it doesn’t necessarily use the main selection–the selection of the line the caret is on–but rather uses the highest position of all of the selections. (I should add that in a rectangular selection, there are actually
n
selections, one for each ofn
lines making up the rectangle.)In the specific case of a select-all having been done previously, for a forward, non-wrapping search, there is indeed no range to search, so it is impossible to find a match for anything (of non-zero length…adding that qualifier for the regex gurus…).
Note: “position” may be a term that is exposed more by Scintilla / Pythonscript – it may not generally be known to Notepad++ users…but it can be thought of as the index into the buffer of the individual characters…the first character is at position 0, the 2nd at 1, etc.
-
in the Mark panel, …the In-selection option is available. So, we may highlight…a subset of the current file…and navigate between all the matches of this subset with … Ctrl+0 and Ctrl+Shift+0
As @Claudia-Frank pointed out (can’t find the thread right now), this is the best Notepad++ can currently do for a glaringly missing “Find All in Selection” feature. But I don’t think she brought up navigating those matches with the keycombos, so to that I say “Nice one!”
-
@Wouter-van-Reek said:
Hi there,
Thanks for Notepad++ and for the new version.
This seems to be a new bug:
In 7.5.7 when I open .js files the function list does not work (stays empty). In 7.5.6 the problem does not occur.Thank you,
WouterI just notice the same “bug” too. The function list for .js file is empty. (i just update to 7.5.7)
-
@Serge-Arseneault said:
I just notice the same “bug” too. The function list for .js file is empty. (i just update to 7.5.7)
It does work for me (v7.5.7, 32 bits). Could you provide your js file?
-
@Wouter-van-Reek said:
In 7.5.7 when I open .js files the function list does not work (stays empty). In 7.5.6 the problem does not occur.
Could you provide more detail (the js file, for example) please?
I cannot reproduce it. -
@Serge-Arseneault & @Wouter-van-Reek
OK, I guess I figur out your problem:
Your%appdata%\notepad++\functionList.xml
is the old one which doesn’t match anymore to the new binary.In order to remedy your problem, you need:
- Installer the new version
- Close Notepad++
- Remove
%appdata%\notepad++\functionList.xml
- Relaunch Notepad++, and launch Function list
Notepad++ will copy a new
functionList.xml
from your Notepad++ installation location to%appdata%\notepad++\
, and new copiedfunctionList.xml
is matched to the new version of binary.Please let me know if it does work for you.
-
I don’t know if this is a new feature (I don’t find mention anywhere) or regression, but in Open File dialog, when I digit “<some text>*”, all files that start with “<some text>” will be open, before I get a filter applied to files in the current folder.
-
Can’t tell for sure what you mean, but maybe try changing the Use new style save dialog… setting to its opposite state in Settings (menu) -> Preferences… -> Default Directory (box on left).
-
@donho Yes, this fixes the problem, thanks!
-