Age | Commit message (Collapse) | Author |
|
Make `BaseButton` Shortcut feedback togglable
|
|
Use more reasonable scrollable conditions in `ScrollContainer`
|
|
Stop centering clicked suggestions in the autocomplete popup
|
|
Adds the bind `ui_text_remove_secondary_carets` to TextEdit, with ESC as the default shortcut.
When the bind is performed, if the TextEdit has multiple carets, `remove_secondary_carets` is called and secondary carets are removed.
This is useful when multiple selects are performed with `add_select_for_next_occurrence` #67644 or when multiple multiple carets are manually added, then it's possible to go back to a single caret with a shortcut.
Closes #67991
|
|
Unify usage of GLOBAL/EDITOR_GET
|
|
Simplify GDVIRTUAL_CALL calls
|
|
Allow selecting SpinBox & LineEdit text when focus enters
|
|
Add padding options in theme for fg/bgcolor tags in RichTextLabel
|
|
Remove `override_selected_font_color` property
|
|
Rename queue_delete => queue_free
|
|
Improve ColorPicker sliders in OKHSL mode
|
|
Fix TextEdit action and CodeEdit completion crash
|
|
Add Caret Insert Below and Above shortcuts to TextEdit
|
|
Support AtlasTexture in radial modes of TextureProgressBar
|
|
|
|
|
|
Add Selection and Caret for Next Occurrence of Selection
|
|
|
|
# Conflicts:
# editor/plugins/tiles/tiles_editor_plugin.cpp
|
|
Code simplifications
|
|
Adds the bind `add_selection_for_next_occurrence` to TextEdit, with CTRL+D as the default shortcut.
When the bind is performed, ff a selection is currently active with the last caret in text fields, searches for the next occurrence of the selection, adds a caret and selects the next occurrence.
If no selection is currently active with the last caret in text fields, selects the word currently under the caret.
The action can be performed sequentially for all occurrences of the selection of the last caret and for all existing carets. The viewport is adjusted to the latest newly added caret.
The bind and the behaviour is similar to VS Code's "Add Selection to Next Find Match" and JetBrains' "Add Selection for Next Occurrence". It takes advantage of the multi-caret API.
The default shortcut for `select_word_under_caret` has been changed to ALT+G, in order to give priority to CTRL+D for `add_selection_for_next_occurrence` to better align with popular IDEs and editors.
|
|
|
|
Revert `custom_minimum_size` type back to `Vector2` instead of `Vector2i`
|
|
|
|
|
|
|
|
1. Viewport::get_visible_rect().position is always zero.
So Control::get_window_rect is identical to Control::get_global_rect.
Remove Control::get_window_rect since it is not used in the source code.
2. sqrt(a * a) = abs(a) for doubles
3. Simplify affine_inverse combination
4. Simplify calculation in shaders
|
|
|
|
The visibility of the `ScrollBar` was used as a condition for judging whether it should scroll.
**Visible** and **scrollable** are currently not the same in some cases (`SCROLL_MODE_SHOW_NEVER`).
This makes `SCROLL_MODE_SHOW_NEVER` not working properly.
This patch will make `SCROLL_MODE_SHOW_NEVER` available, so that the external `SrollBar` can
share the internal `ScrollBar`'s data, we can achieve the purpose of replacing the internal
`ScrollBar` with a custom external one.
|
|
|
|
|
|
|
|
|
|
|
|
Comment not to remove `data` structs in some Nodes
|
|
|
|
Ensure control built-in shortcuts are matched exactly & add shortcuts for SpriteFrames editor
|
|
Move Shortcut Context to control and fix `shortcut_input` with `shortcut_context`
|
|
contexts. Also ensure that controls with no context are only triggered AFTER nodes which do have a context.
|
|
|
|
Fix Control node not disconnecting from signal
|
|
Improve Popup / Window behavior in the edited scene tree.
|
|
|
|
Add Spritesheet support to RichTextLabel BBCode
|
|
BBCode: [img region=0,0,16,16]res://icon.svg[/img]
|
|
irrelevant `Popup` flags from the editor inspector.
|
|
Replace all TODO uses of `#warning` by proper TODO comments, and will open
matching bug reports to keep track of them.
We don't have a great track record fixing TODOs, but I'd wager we're even
worse for fixing these "TODO #warning" so we should prohibit this usage.
|
|
Expose TreeItem::set_button_color
|
|
Fix inserting tabs in TextEdit
|
|
Improve bookmark and breakpoint indicators
|