Skip to content

Multi Edit resists escape after typing #14649

@krilbe

Description

@krilbe

Description of the Issue

If you enable multi edit using Alt + Shift + arrow keys, and type something on multiple rows, I expect to be able to end multi edit mode by hitting Esc. But that doesn't work unless i move using arrow keys before I hit Esc. That makes the multi edit mode annoyingly "sticky". Please ensure that Esc ALWAYS ends multi edit mode and/or provide some other hotkey for that.

Steps to Reproduce the Issue

  1. New document, add some blank lines.
  2. Use Alt+Shift+Down or Up to start multi edit mode.
  3. Type some text.
  4. Hit Esc to end multi edit mode.
  5. Notice that multi edit mode remains.
  6. Hit arrow left to move the multi edit focus one character position to the left.
  7. Hit Esc to end multi edit mode and notice that it is now ended.
Notepad++.Multi.edit.bug.mp4

Expected Behavior

I expect to be able to always reliable end multi edit mode with a single keystroke or shortcut key no matter what I did with multi edit mode before that keystroke.

Actual Behavior

Multi edit remains after hitting Esc, unless I use unshifted arrow keys before hitting Esc,

Debug Information

Notepad++ v8.6.2 (64-bit)
Build time : Jan 14 2024 - 02:16:00
Path : C:\Program Files\Notepad++\notepad++.exe
Command Line :
Admin mode : OFF
Local Conf mode : OFF
Cloud Config : OFF
OS Name : Windows 11 Pro (64-bit)
OS Version : 23H2
OS Build : 22631.3085
Current ANSI codepage : 1252
Plugins :
mimeTools (3)
NppConverter (4.5)
NppExport (0.4)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions