Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Clear All Marks Has Different Behavior #15073

Open
1 task done
sambo22 opened this issue May 1, 2024 · 1 comment
Open
1 task done

[BUG] Clear All Marks Has Different Behavior #15073

sambo22 opened this issue May 1, 2024 · 1 comment

Comments

@sambo22
Copy link

sambo22 commented May 1, 2024

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

  1. Ctrl+F->Mark->Search for some existing string and click Mark All->Close Window
  2. Go to Search->Bookmakrs->Clear All Bookmarks. Note the all instances of the searched string are still highlighted.
  3. 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

@alankilborn
Copy link
Contributor

alankilborn commented May 1, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants