Support keeping results in results of Find in Files and Replace in Files#104676
Conversation
|
I feel like all these 3 text buttons in future could be replaced with just 3 icons. |
96bb797 to
aaaafd8
Compare
84af7d4 to
7e718a8
Compare
7e718a8 to
38888c1
Compare
64b3b16 to
c0c5fd9
Compare
c0c5fd9 to
c4178be
Compare
c4178be to
9685de0
Compare
9685de0 to
1c456bd
Compare
05407d3 to
53ddcb4
Compare
53ddcb4 to
1565d54
Compare
e52e35d to
8793058
Compare
3f00759 to
04dfd7a
Compare
kitbdev
left a comment
There was a problem hiding this comment.
Can you rebase to fix an unrelated crash that was fixed in master?
Find in Files needs to be refactored since there are a lot of issues like variables with _ prefix, signals, organization, etc. So I'll ignore those problems for now and I'll try to refactor this later.
Functionality works well.
04dfd7a to
93e1bba
Compare
|
@kitbdev I fixed the issues you have mentioned except the name FindInFilesTab which I'm thinking of a new name FindInFilesContainer but I'm not sure. |
93e1bba to
adf0a9a
Compare
Find in Files and Replacing in FilesFind in Files and Replace in Files
adf0a9a to
fdd0f32
Compare
|
Thanks! Congratulations on your first merged contribution! 🎉 |
| const Ref<StyleBox> bottom_panel_style = EditorNode::get_singleton()->get_editor_theme()->get_stylebox(SNAME("BottomPanel"), EditorStringName(EditorStyles)); | ||
| if (bottom_panel_style.is_valid()) { | ||
| add_theme_constant_override("margin_top", -bottom_panel_style->get_margin(SIDE_TOP)); | ||
| add_theme_constant_override("margin_left", -bottom_panel_style->get_margin(SIDE_LEFT)); | ||
| add_theme_constant_override("margin_right", -bottom_panel_style->get_margin(SIDE_RIGHT)); | ||
| add_theme_constant_override("margin_bottom", -bottom_panel_style->get_margin(SIDE_BOTTOM)); | ||
| } |
There was a problem hiding this comment.
This is unnecessary. NOTIFICATION_THEME_CHANGED already handles it, and it's received automatically when entering tree.
There was a problem hiding this comment.
Confirmed. And I also find I should use begin_bulk_theme_override/end_bulk_theme_override before/after add_theme_constant_override for 4 sides margin in _notification, avoiding unnecessary recursions. I will make a PR to fix this.
There was a problem hiding this comment.
Could you please review this PR? #112704

Closes godotengine/godot-proposals#11923
Support keeping multiple searching/replacing results.