Notepad3 icon indicating copy to clipboard operation
Notepad3 copied to clipboard

Bookmarks: deletion on line removes bookmark

Open craigo- opened this issue 3 years ago • 1 comments

When a line has a bookmark, deleting anything from the line by using either the Backspace or the Delete key results in the bookmark being removed. The bookmark is not removed when cutting a portion of text from the line, e.g. via Ctrl+X or Edit -> Cut.

This occurs in the latest beta (5.22.502.1 beta), right back to the oldest version I still have around (5.21.301.1 beta), and many versions in between (perhaps all).

This does not occur with Notepad2-mod 4.2.25.998 or Notepad2-zufuliu 4.22.05r4220, other Notepad2 derivatives that have implemented the Bookmarks feature.

Notwithstanding some design decision I'm not aware of, I believe this is a bug.

Animation below, using Notepad3 5.22.502.1 beta, where I:

  • Bookmark three lines
  • Add text to the second bookmarked line (the bookmark remains)
  • Delete text from the third bookmarked line using the Backspace key (the bookmark is removed)
  • Delete text from the first bookmarked line using the Delete key (the bookmark is removed)

Notepad3_Bookmarks

craigo- avatar May 23 '22 09:05 craigo-

I confirm, until "Notepad3_5.20.1012.1_beta", this problem does NOT occur. 👍

This seems to be a very old bug that started from version "Notepad3_5.20.1012.2_beta". 😬 [1012.2]- Disable Copy/Cut complete lines on partial multi-selection.

hpwamr avatar May 24 '22 08:05 hpwamr

Notwithstanding some design decision I'm not aware of, I believe this is a bug.

Hello @craigo- ,

Feel free to test the "BETA/RC PortableApps", version "Notepad3Portable_5.22.901.1_beta.paf" or newer, see 1st list in issue #1129.

"Notepad3Portable BETA/RC PortableApps" version can be used with or without ".7z" extension.

Also, feel free to test the "BETA/RC Setup", version "Notepad3_5.22.901.1_beta_Setup" or newer, see the 2nd list in issue #1129.

Comments and suggestions are welcome... 😃

hpwamr avatar Sep 01 '22 20:09 hpwamr

Tested version 5.22.901.1 beta - the problem is resolved. Thank you.

...and welcome back, @RaiKoHoff 😄

craigo- avatar Sep 01 '22 20:09 craigo-