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 text and style calculation to StickyLine
Move the text and style calculation to the StickyLine itself in order to
enable the sticky line provider to overwrite the default behavior. This
is needed to apply custom texts or custom styles for the sticky lines.
Preparation for #2398
Copy file name to clipboardExpand all lines: bundles/org.eclipse.ui.editors/src/org/eclipse/ui/internal/texteditor/stickyscroll/DefaultStickyLinesProvider.java
+3-3
Original file line number
Diff line number
Diff line change
@@ -33,9 +33,9 @@ public class DefaultStickyLinesProvider implements IStickyLinesProvider {
Copy file name to clipboardExpand all lines: bundles/org.eclipse.ui.editors/src/org/eclipse/ui/internal/texteditor/stickyscroll/IStickyLinesProvider.java
+1-1
Original file line number
Diff line number
Diff line change
@@ -37,7 +37,7 @@ public interface IStickyLinesProvider {
37
37
* @param properties Properties for additional information
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
+4-4
Original file line number
Diff line number
Diff line change
@@ -153,7 +153,7 @@ public void viewportChanged(int newVerticalOffset) {
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