pegkit icon indicating copy to clipboard operation
pegkit copied to clipboard

Maintain Undo History after save or generate

Open yepher opened this issue 8 years ago • 1 comments

This is a fix for issue #52

  • Removes the grammar<->NSTextView KVO.
  • Gets rid of enable/disable state for textView since it breaks undo history and I don't think it actually adds any value.
  • Now uses [self.textView string] as the authoritative state of the NSTextView (grammar).

After this change undo history is maintained after generate or File->Save.

yepher avatar Nov 19 '16 16:11 yepher

FYI, FIxed a problem where loading the saved file did not work. I've been using this for several days not and seems to be working really well.

yepher avatar Nov 24 '16 12:11 yepher