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
The button to toggle whether the replace bar in a find/replace overlay
is shown currently appears to be a rather heavyweight button with a
border. With this change, the button is replace with a lightweight
toolbar item like used for all other buttons in the overlay. This
improves the appearance as well as the implementation as the same
implementation patterns can now be applied to all buttons in the
overlay.
Copy file name to clipboardExpand all lines: bundles/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/internal/findandreplace/overlay/FindReplaceOverlay.java
Copy file name to clipboardExpand all lines: tests/org.eclipse.ui.workbench.texteditor.tests/src/org/eclipse/ui/internal/findandreplace/overlay/OverlayAccess.java
+2-3Lines changed: 2 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,6 @@
25
25
importjava.util.stream.Collectors;
26
26
27
27
importorg.eclipse.swt.SWT;
28
-
importorg.eclipse.swt.widgets.Button;
29
28
importorg.eclipse.swt.widgets.Control;
30
29
importorg.eclipse.swt.widgets.Event;
31
30
importorg.eclipse.swt.widgets.Shell;
@@ -56,7 +55,7 @@ class OverlayAccess implements IFindReplaceUIAccess {
56
55
57
56
privatefinalToolItemsearchBackward;
58
57
59
-
privatefinalButtonopenReplaceDialog;
58
+
privatefinalToolItemopenReplaceDialog;
60
59
61
60
privateHistoryTextWrapperreplace;
62
61
@@ -81,7 +80,7 @@ class OverlayAccess implements IFindReplaceUIAccess {
0 commit comments