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-23 12:02:54 +0200
commit22609209e5e4b513500e276b07d5dfe591abc87e (patch)
tree91d253872928a6a9e78d14498a7c97ef8b35707f /Source
parent96e6f4b75b1a27d24b9bfa9a2381c391e971f977 (diff)
downloadsequelpro-22609209e5e4b513500e276b07d5dfe591abc87e.tar.gz
sequelpro-22609209e5e4b513500e276b07d5dfe591abc87e.tar.bz2
sequelpro-22609209e5e4b513500e276b07d5dfe591abc87e.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;