From 48234ad1e3c52205106086340c74dbe00d291f5f 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(+) 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