Skip to content

ScriptEditor/ShaderEditor: Replace find/replace dialog with a bar

Ghost User requested to merge github/fork/neikeq/pr-search-bar into master

This Pull Request replaces the find/replace dialog with a find/replace bar. It has the same features as the dialog but with usability improvements. It also highlights all occurrences (based on @Paulb23's word highlighting).

I also added Find Previous to the Search menu, with the hotkey SHIFT+F3.

The FindReplaceDialog was not removed, but it's no longer used. I would like to use it for a Find In Files/Find All dialog in the future.

Note: I did some changes to CodeEditor. It inherits VBoxContainer now instead of Control. The error label and the line:col label are now contained in an HBoxContainer and a MarginContainer (which is what I needed #4096 for).

Some screenshots:

Screenshot 1 Screenshot 2

Merge request reports