Commit 3f3daf7
Find/replace overlay: Read regex option from model instead button state
The regex search button state is synchronized from the find/replace
logic's option state via a listener, so decorate() reading the button's
selection depends on that synchronization having happened. Reading the
option directly from the logic removes this hidden ordering dependency
and is consistent with how the other consumers (e.g., content assist
availability) already query the model.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>1 parent e642f04 commit 3f3daf7
1 file changed
Lines changed: 1 addition & 1 deletion
File tree
- bundles/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/internal/findandreplace/overlay
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1039 | 1039 | | |
1040 | 1040 | | |
1041 | 1041 | | |
1042 | | - | |
| 1042 | + | |
1043 | 1043 | | |
1044 | 1044 | | |
1045 | 1045 | | |
| |||
0 commit comments