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] Use source viewer to calculate the sticky lines
Use the source viewer instead of the text widget to calculate the sticky lines. The source viewer is the standard instance for source code operations in JDT and other editors.
Preparation for #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
+6-9Lines changed: 6 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,6 @@
25
25
importjava.util.LinkedList;
26
26
importjava.util.List;
27
27
28
-
importorg.eclipse.swt.custom.StyledText;
29
28
importorg.eclipse.swt.graphics.Color;
30
29
importorg.eclipse.swt.graphics.RGB;
31
30
@@ -140,7 +139,7 @@ private StickyScrollingControlSettings loadControlSettings(IPreferenceStore stor
Copy file name to clipboardExpand all lines: tests/org.eclipse.ui.editors.tests/src/org/eclipse/ui/internal/texteditor/stickyscroll/DefaultStickyLinesProviderTest.java
0 commit comments