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
Properly update find/replace overlay size and displayed widgets #2006
Currently, the widgets in the find/replace overlay (search options,
replace expand bar) are not always properly updated on size changes of
the target editor. This is complicated by the implementation mixing up
the calculation of the overlay size and the calculations to determine
which widgets are displayed, which also leads to the missing updates the
UI upon certain events requiring the resizing of the overlay.
With this change, the calculations for the overlay size and the
determination of the displayed widgets are separated. This also makes a
template string for a "compromise text length" obsolete. It also removes
the "size gap" between the minimal width of the overlay with the replace
expansion bar, taking up 70% of the editor width, and the size of the
width of the overlay without the replace expansion bar, taking up 95% of
the editor width.
Fixes#2006
Copy file name to clipboardExpand all lines: bundles/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/internal/findandreplace/overlay/FindReplaceOverlay.java
+40-27Lines changed: 40 additions & 27 deletions
Original file line number
Diff line number
Diff line change
@@ -74,8 +74,7 @@ public class FindReplaceOverlay extends Dialog {
0 commit comments