Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-2288

GroovyConsole - Undo/Redo don't set the dirty flag

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.1-rc-2
    • 1.1-rc-3
    • Groovysh
    • None

    Description

      The Undo and Redo actions don't set the dirty flag, though the script content is changed.

      The fix is not trivial since the ConsoleTextEditor provides its unkown UndoAction and RedoAction, I am not sure what would be the prettiest way to solve this.
      Using 'setDirty(true)' in the closure property of the 2 actions is not a solution since SwingBuilder's actions seem not to take into account the closure when an existing Action is provided.

      Attachments

        Activity

          People

            shemnon Daniel Ferrin
            oarmand Olivier Armand
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: