Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable NSTextView substitutions. #21

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Disable NSTextView substitutions. #21

wants to merge 1 commit into from

Conversation

monyschuk
Copy link

Substitutions like smart quotes mangle both typed and pasted grammars,
causing the app to crash on what would otherwise be valid input.

Substitutions like smart quotes mangle both typed and pasted grammars,
causing the app to crash on what would otherwise be valid input.
@monyschuk
Copy link
Author

This is a fix for mysterious crashes in ParserGenApp that seem to affect some and not others. The source of the problem is automatic text substitutions which are globally (en | dis) abled via SystemPreferences. I tracked down a crash in my grammar due to smart quotes mangling literals like '('.

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