Notepad++ 7.5.7 release
-
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!
-
P PeterJones locked this topic on