Skip to content

Conversation

@yepher
Copy link
Contributor

@yepher yepher commented Nov 16, 2016

This is a fix for issue #47. It adds line number to the text view.

It exposes a bug where the error alert box sometimes displays the wrong line number. Issue #48

screen shot 2016-11-15 at 7 39 37 pm

…p with actual error line but this was already an issue.
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`.
…extView

Conflicts:
	ParserGenApp/PGDocument.h
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