[BUG] Clear All Marks Has Different Behavior
sambo22 opened this issue · comments
Is there an existing issue for this?
- I have searched the existing issues
Description of the Issue
Using Search->Bookmarks->Clear All Bookmarks only clears the dot indicating a mark on a line.
Using Search Window->Mark->Clear All Marks clears the dot and de-highlights matching text
Steps To Reproduce
- Ctrl+F->Mark->Search for some existing string and click Mark All->Close Window
- Go to Search->Bookmakrs->Clear All Bookmarks. Note the all instances of the searched string are still highlighted.
- Reopen search window with Ctrl+F, go to Mark tab and then use Clear All Marks to remove highlighted text.
Current Behavior
There are two methods to clear all bookmarks. Each are named slightly different, and one is missing a step that the other executes.
Expected Behavior
The highlighted text should either be cleared when using Search->Bookmarks->Clear All Bookmarks or when the Search window is closed.
Debug Information
Notepad++ v8.6.5 (64-bit)
Build time : Mar 29 2024 - 17:04:43
Path : C:\Program Files\Notepad++\notepad++.exe
Command Line : "C:\...\DAQI\CAN-Test\ClosestTargetOnlyHunterBackpack-00\PCANView 30s.trc"
Admin mode : OFF
Local Conf mode : OFF
Cloud Config : OFF
Periodic Backup : ON
OS Name : Windows 10 Enterprise (64-bit
OS Version : 22H2
OS Build : 19045.4291
Current ANSI codepage : 1252
Plugins :
HexEditor (0.9.12)
LuaScript (0.12)
mimeTools (3.1)
NppConverter (4.6)
NppExport (0.4)
Anything else?
No response
The behavior is as intended.
This issue may be closed.
EDIT: BTW, if you want to clear "red marked" text without clearing bookmarks at the same time, uncheckmark Bookmark Line in the Mark dialog, before pressing the Clear All Marks pushbutton.