From 22609209e5e4b513500e276b07d5dfe591abc87e Mon Sep 17 00:00:00 2001 From: Max Date: Tue, 23 Jun 2015 12:02:54 +0200 Subject: Disable "smart" substitutions for field editor sheet (fixes #2154) --- Source/SPFieldEditorController.m | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Source') diff --git a/Source/SPFieldEditorController.m b/Source/SPFieldEditorController.m index 9ffe395f..fe9359da 100644 --- a/Source/SPFieldEditorController.m +++ b/Source/SPFieldEditorController.m @@ -112,6 +112,9 @@ typedef enum { // support full interactivity, for example use of the NSFindPanel inside NSTextViews. [editSheet setIsSheetWhichCanBecomeMain:YES]; } + + [editTextView setAutomaticDashSubstitutionEnabled:NO]; + [editTextView setAutomaticQuoteSubstitutionEnabled:NO]; allowUndo = NO; selectionChanged = NO; -- cgit v1.2.3