Age | Commit message (Collapse) | Author |
|
Fix a gap with scrolling down in Tree with arrow keys (#57636)
|
|
|
|
|
|
[Font] Add an import option to pre-render all glyphs required for the translation.
|
|
translation.
|
|
|
|
|
|
Fixes mouse click deselect for multi and single carets
|
|
CanvasItemEditor:
- p_result == ADD_MOVE is always true in this switch-clause
- both parts of the if-else-clause do the same thing and simplified an affine_inverse call
ControlEditorToolbar:
- private function ControlEditorToolbar::_anchor_to_position is used nowhere. Looks like
copy and paste from CanvasItemEditor::_anchor_to_position
ScrollContainer:
- screen_is_touchscreen is always true, because otherwise the function already returned
TextLine:
- both parts of the if-else-clause do the same thing and simplified return statement
|
|
mouse position
Fixes and closes #67993.
|
|
Correctly deletes multi-caret selection with backspace
|
|
Fixes and closes #67992
|
|
|
|
Add `set_value_no_signal()` to Range
|
|
Modularize the Color Picker via properties and new picker mode.
|
|
|
|
Add a separate hue gradient for OKHSL mode
|
|
YeldhamDev/we_really_need_a_callback_for_after_children_is_removed
Fix problems with `tab_changed` signal when removing multiple tabs at once
|
|
- Removed empty paragraphs in XML.
- Consistently use bold style for "Example:", on a new line.
- Fix usage of `[code]` when hyperlinks could be used (`[member]`, `[constant]`).
- Fix invalid usage of backticks for inline code in BBCode.
- Fix some American/British English spelling inconsistencies.
- Other minor fixes spotted along the way, including typo fixes with codespell.
- Don't specify `@GlobalScope` for `enum` and `constant`.
|
|
Unified shortcut to clear carets and selections from TextEdit
|
|
Add alignment options to flow container
|
|
Refactors`ui_text_remove_secondary_carets` from https://github.com/godotengine/godot/pull/68089 as `ui_text_clear_carets_and_selection`, with extra behaviour:
- If there's only one active caret active with a selection, clears the selection.
- In case there's more than one caret active, removes the secondary carets and clears selections.
With this change, `TextEdit` then imitates the behaviour of VSCode for clearing carets and selections.
|
|
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`
|