Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Display.java')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Display.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Display.java b/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Display.java
index 5e09eeed16..1b6dfaf86c 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Display.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Display.java
@@ -2276,6 +2276,10 @@ protected void init () {
if (blink != null) blinkTime = (int)new NSNumber(blink).integerValue();
if (blinkTime == 0) blinkTime = 560;
+ /** Disable automatic quote & dash substitution for the application by default **/
+ defaults.setInteger(0, NSString.stringWith("NSAutomaticQuoteSubstitutionEnabled"));
+ defaults.setInteger(0, NSString.stringWith("NSAutomaticDashSubstitutionEnabled"));
+
isPainting = (NSMutableArray)new NSMutableArray().alloc();
isPainting = isPainting.initWithCapacity(12);
}

Back to the top