Skip to content

Ctrl+C and Ctrl+X no longer work in forms for Notepad++ 8.6.1 and newer. #87

@molsonkiko

Description

@molsonkiko

This issue does not apply to Notepad++ 8.6.2.

To replicate the issue:

  1. Install CSVLint 0.4.6.6 on Notepad++ 8.6.1 (32bit or 64bit, shouldn't matter).
  2. Copy some text to the clipboard (call this Original selection)
  3. Open the CSV Lint window in any document.
  4. Select some text in the CSV Lint window (call this CSV Lint selection)
  5. Copy the CSV Lint window selection using Ctrl+C.
  6. Observe that Original selection is still in the clipboard.
  7. Cut the CSV Lint window selection using Ctrl+X.
  8. Observe that Original selection is still in the clipboard.
  9. If desired, try doing similar things on the other forms in CSV Lint. You should find that Ctrl+C and Ctrl+X are broken everywhere.

Note that for any version after Notepad++ 8.6.2 (i.e., versions not yet released at the time of writing), there are (probably) two additional steps after step 2:

  • go to Settings->Preferences...->Editing from the Notepad++ main menu and uncheck Enable Copy/Cut Line without selection
  • make sure there is no text selected in the current Notepad++ document.

My proposed solution

You can fix this issue by following the process I describe in my NppCSharpPluginPack.

If you like, I can submit a PR. While this issue isn't hard to fix, it is annoying and finicky to fix because you have to visually compare the order of Controls.Add calls to the desired tab order for every form in your plugin.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions