diff options
author | Lakshmi Shanmugam | 2018-03-09 08:27:06 +0000 |
---|---|---|
committer | Lakshmi Shanmugam | 2018-03-13 06:52:35 +0000 |
commit | bb1ea18b584ec1a364834b3fa0ae316c1f8453a1 (patch) | |
tree | d15b9d0b273e32243fd264007d25047acb9f6f39 /bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse | |
parent | 7a87839faf396bbcbec1987af7f2b381136f5799 (diff) | |
download | eclipse.platform.swt-bb1ea18b584ec1a364834b3fa0ae316c1f8453a1.tar.gz eclipse.platform.swt-bb1ea18b584ec1a364834b3fa0ae316c1f8453a1.tar.xz eclipse.platform.swt-bb1ea18b584ec1a364834b3fa0ae316c1f8453a1.zip |
Bug 366471: [Cocoa] Slow scrolling in editor on Mac OS X
Removes the call to runPaint() in display.readAndDispatch(), the setNeedsDisplay and setNeedsDisplayInRect callbacks and the NSMutableArray instances (Display.isPainting, needsDisplay and needsDisplayInRect).
Change-Id: I63d460b6155819c2e90a8ed049b702f0f7bee654
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/OS.java | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/OS.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/OS.java index 3ab61a3d9d..14726feb9f 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/OS.java +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/OS.java @@ -748,8 +748,6 @@ public static final native long /*int*/ CALLBACK_setFrameOrigin_(long /*int*/ fu public static final native long /*int*/ CALLBACK_setFrameSize_(long /*int*/ func); /** @method callback_types=void;id;SEL;id;NSRange;,callback_flags=none;none;none;none;struct; */ public static final native long /*int*/ CALLBACK_setMarkedText_selectedRange_(long /*int*/ func); -/** @method callback_types=void;id;SEL;NSRect;,callback_flags=none;none;none;struct; */ -public static final native long /*int*/ CALLBACK_setNeedsDisplayInRect_(long /*int*/ func); /** @method callback_types=BOOL;id;SEL;NSRange;NSString*;,callback_flags=none;none;none;struct;none; */ public static final native long /*int*/ CALLBACK_shouldChangeTextInRange_replacementString_(long /*int*/ func); /** @method callback_types=NSSize;id;SEL;BOOL;,callback_flags=struct;none;none;none; */ |