aboutsummaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorMax <post@wickenrode.com>2015-06-23 12:02:54 +0200
committerMax <post@wickenrode.com>2015-06-29 23:33:57 +0200
commit48234ad1e3c52205106086340c74dbe00d291f5f (patch)
treefcccc5323b2ddb467513c918336839575ddd0dc9 /Source
parent3b39f3bdd7e0f54de8f45623f1ae980729491cbe (diff)
downloadsequelpro-48234ad1e3c52205106086340c74dbe00d291f5f.tar.gz
sequelpro-48234ad1e3c52205106086340c74dbe00d291f5f.tar.bz2
sequelpro-48234ad1e3c52205106086340c74dbe00d291f5f.zip
Disable "smart" substitutions for field editor sheet (fixes #2154)
Diffstat (limited to 'Source')
-rw-r--r--Source/SPFieldEditorController.m3
1 files changed, 3 insertions, 0 deletions
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;