-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Description
Description of the Issue
If some text is selected which is at the end of file (no character (including space/new line/tab) after the selected text) then the other instances of the same text is not being highlighted.
Steps to Reproduce the Issue
- I have these settings in Smart Highlighting:
- "Enable" is checked (Smart Highlighting is enabled)
- "Match case" is not checked
- "Match whole word only" is not checked
-
Write the following 2 lines in a blank file. Do not add any character after last "hello"
hello
hello -
Select the second/last "hello" text
Expected Behavior
The first "hello" should get highlighted.
Actual Behavior
The first "hello" is not getting highlighted.
Debug Information
Notepad++ v7.8.9 (64-bit)
Build time : Jul 15 2020 - 20:31:49
Path : Z:\home\U\Programs\Notepad++\notepad++.exe
Admin mode : ON
Local Conf mode : OFF
OS Name : Microsoft Windows 7 (64-bit)
OS Build : 7601.0
Current ANSI codepage : 1252
WINE : 5.17
Plugins : BetterMultiSelection.dll ComparePlugin.dll DSpellCheck.dll Explorer.dll JSMinNPP.dll MarkdownViewerPlusPlus.dll mimeTools.dll NppConverter.dll NppExport.dll NPPJSONViewer.dll XMLTools.dll zoomdisabler_x64.dll
More info
If there is any character after last "hello" then the highlighting is working properly.
And, if the first "hello" is selected then the second instance is highlighted.