Mercurial > projects > dwt2
diff org.eclipse.swt.gtk.linux.x86/src/org/eclipse/swt/custom/StyledTextDropTargetEffect.d @ 49:7a2dd761a8b2
more work until dmd 2.026 linux segfaults.
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Fri, 27 Mar 2009 12:59:54 +0100 |
parents | ddbfe84d86df |
children |
line wrap: on
line diff
--- a/org.eclipse.swt.gtk.linux.x86/src/org/eclipse/swt/custom/StyledTextDropTargetEffect.d Fri Mar 27 12:05:20 2009 +0100 +++ b/org.eclipse.swt.gtk.linux.x86/src/org/eclipse/swt/custom/StyledTextDropTargetEffect.d Fri Mar 27 12:59:54 2009 +0100 @@ -61,9 +61,9 @@ * @since 3.3 */ public class StyledTextDropTargetEffect : DropTargetEffect { - static final int CARET_WIDTH = 2; - static final int SCROLL_HYSTERESIS = 100; // milli seconds - static final int SCROLL_TOLERANCE = 20; // pixels + static const int CARET_WIDTH = 2; + static const int SCROLL_HYSTERESIS = 100; // milli seconds + static const int SCROLL_TOLERANCE = 20; // pixels int currentOffset = -1; long scrollBeginTime;