Skip to content

Edit > Undo remains disabled after paste or cut on newly opened sketch #6351

Open
@per1234

Description

@per1234

Using Arduino IDE 1.8.14 Hourly Build 2021/30/09 09:33, Windows 10 64 bit

  1. File > New - this will cause the Edit > Undo menu item to be disabled because there is no edit history.
  2. Copy some text to the clipboard.
  3. Paste the text to the sketch - Edit > Undo remains disabled even though a Ctrl+z will undo the paste.

This issue occurs with Arduino IDE 1.8.2 and newer, it does not occur with 1.8.1 and older.

This may be related to the DocumentChanged event issue mentioned in #6022 (comment).

Originally reported at http://forum.arduino.cc/index.php?topic=443558.msg3289844#msg3289844

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions