Skip to content

[BUG] Remove some hidden lines and unhide the rest hidden lines makes one marker left behind  #15713

@donho

Description

@donho

Is there an existing issue for this?

  • I have searched the existing issues

Description of the Issue

After removing some hidden lines then unhidding the rest hidden lines makes one marker left behind.

Steps To Reproduce

  1. Type the following content:

1. Hide
3. Delete
2. Hide
   Also delete


image

  1. Hide the 2nd line "Hide"
  2. Hide the 4th line "Hide"
  3. The above 2 operations resulting the following screen shot:
    image
  4. Selecting 3th and 5th lines:
    image
    then delete them. Resulting the following:
    image
  5. Click on the marker of 1st line, that gives the following screenshot:
    image
  6. Click on the markers of 3rd line, one mark is gone. that gives the following screenshot:
    image
  7. Click on the left marker of 3rd line again.

Note that there are one mark which is left behind due to the deletion.

Current Behavior

The mark persists.

Expected Behavior

The mark disappear.

Debug Information

Notepad++ v8.7   (64-bit)
Build time : Sep 17 2024 - 17:06:31
Path : C:\Program Files\Notepad++\notepad++.exe
Command Line : 
Admin mode : OFF
Local Conf mode : OFF
Cloud Config : OFF
Periodic Backup : ON
OS Name : Windows 11 Home (64-bit)
OS Version : 23H2
OS Build : 22631.4317
Current ANSI codepage : 1252
Plugins : 
    mimeTools (3.1)
    NppConverter (4.6)
    NppExport (0.4)

Anything else?

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions