You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[StickyScrolling] Move complex line adaption to central handler
Move sticky lines adaptation to the growing sticky lines control into the central sticky scrolling handler. This change simplifies the sticky lines provider, making implementations for specific languages more straightforward and maintainable.
Preparation for eclipse-platform#2398
Copy file name to clipboardExpand all lines: bundles/org.eclipse.ui.editors/src/org/eclipse/ui/internal/texteditor/stickyscroll/DefaultStickyLinesProvider.java
Copy file name to clipboardExpand all lines: bundles/org.eclipse.ui.editors/src/org/eclipse/ui/internal/texteditor/stickyscroll/IStickyLinesProvider.java
Copy file name to clipboardExpand all lines: bundles/org.eclipse.ui.editors/src/org/eclipse/ui/internal/texteditor/stickyscroll/StickyScrollingControl.java
Copy file name to clipboardExpand all lines: bundles/org.eclipse.ui.editors/src/org/eclipse/ui/internal/texteditor/stickyscroll/StickyScrollingHandler.java
+43-2
Original file line number
Diff line number
Diff line change
@@ -22,8 +22,10 @@
22
22
23
23
importjava.time.Duration;
24
24
importjava.util.Collections;
25
+
importjava.util.LinkedList;
25
26
importjava.util.List;
26
27
28
+
importorg.eclipse.swt.custom.StyledText;
27
29
importorg.eclipse.swt.graphics.Color;
28
30
importorg.eclipse.swt.graphics.RGB;
29
31
@@ -138,7 +140,7 @@ private StickyScrollingControlSettings loadControlSettings(IPreferenceStore stor
0 commit comments