Skip to content

Conversation

@yepher
Copy link
Contributor

@yepher yepher commented Nov 19, 2016

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 and others added 4 commits November 19, 2016 10:51
This removes the `grammar`<->NSTextView KVO. This change also 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 view.

After this change undo history is maintained after `generate` or `File`->`Save`.
@yepher
Copy link
Contributor Author

yepher commented Nov 24, 2016

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant