summaryrefslogtreecommitdiff
path: root/scene/gui
AgeCommit message (Collapse)Author
2022-11-03Merge pull request #67540 from KoBeWi/hue_hue_hueRémi Verschelde
Add a separate hue gradient for OKHSL mode
2022-11-02Merge pull request #67928 from ↵Rémi Verschelde
YeldhamDev/we_really_need_a_callback_for_after_children_is_removed Fix problems with `tab_changed` signal when removing multiple tabs at once
2022-11-02Style: Misc docs and comment style and language fixesRémi Verschelde
- 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`.
2022-11-02Merge pull request #68170 from alfredbaudisch/clear-selection-shortcutRémi Verschelde
Unified shortcut to clear carets and selections from TextEdit
2022-11-02Merge pull request #67788 from 98teg/flow-container-alignmentRémi Verschelde
Add alignment options to flow container
2022-11-02Unified shortcut to clear carets and selectionsAlfred Reinold Baudisch
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.
2022-11-02Merge pull request #63335 from Spartan322/button-shortcut-feedbackRémi Verschelde
Make `BaseButton` Shortcut feedback togglable
2022-11-02Change hue icons to horizontal GradientTexture2Dkobewi
2022-11-02Add a separate hue gradient for OKHSL modekobewi
2022-11-02Merge pull request #63562 from Rindbee/better-scroll-conditionsRémi Verschelde
Use more reasonable scrollable conditions in `ScrollContainer`
2022-11-02Merge pull request #67994 from YeldhamDev/how_suggestiveRémi Verschelde
Stop centering clicked suggestions in the autocomplete popup
2022-10-31Shortcut and Bind to Remove Secondary CaretsAlfred Reinold Baudisch
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
2022-10-31Merge pull request #67578 from KoBeWi/GEDITORRémi Verschelde
Unify usage of GLOBAL/EDITOR_GET
2022-10-31Merge pull request #67588 from KoBeWi/if(!GDVIRTUAL_CALL)don'tRémi Verschelde
Simplify GDVIRTUAL_CALL calls
2022-10-31Merge pull request #67489 from timothyqiu/auto-select-allRémi Verschelde
Allow selecting SpinBox & LineEdit text when focus enters
2022-10-31Merge pull request #63590 from golfinq/fbg-paddingRémi Verschelde
Add padding options in theme for fg/bgcolor tags in RichTextLabel
2022-10-31Merge pull request #67888 from KoBeWi/overrideadRémi Verschelde
Remove `override_selected_font_color` property
2022-10-31Merge pull request #67445 from Zylann/rename_queue_deleteRémi Verschelde
Rename queue_delete => queue_free
2022-10-31Merge pull request #67534 from KoBeWi/more_OK_in_OKHSLRémi Verschelde
Improve ColorPicker sliders in OKHSL mode
2022-10-31Merge pull request #67496 from Paulb23/text-edit-crashesRémi Verschelde
Fix TextEdit action and CodeEdit completion crash
2022-10-31Merge pull request #67139 from PucklaMotzer09/insert_caret_at_caretsRémi Verschelde
Add Caret Insert Below and Above shortcuts to TextEdit
2022-10-31Merge pull request #66352 from arkology/progressbar_atlastexture_radialRémi Verschelde
Support AtlasTexture in radial modes of TextureProgressBar
2022-10-29Allow selecting SpinBox & LineEdit text when focus entersHaoyu Qiu
2022-10-28Stop centering clicked suggestions in the autocomplete popupMichael Alexsander
2022-10-27Merge pull request #67644 from alfredbaudisch/add-selection-next-occurrenceClay John
Add Selection and Caret for Next Occurrence of Selection
2022-10-27Fix problems with `tab_changed` signal when removing multiple tabs at onceMichael Alexsander
2022-10-26Remove override_selected_font_color propertykobewi
2022-10-24Rename queue_delete => queue_freeMarc Gilleron
# Conflicts: # editor/plugins/tiles/tiles_editor_plugin.cpp
2022-10-23Merge pull request #67566 from Sauermann/fix-code-simplificationsClay John
Code simplifications
2022-10-23Add alignment options to flow containerTeggy
2022-10-21Add Selection and Caret for Next Occurrence of SelectionAlfred Reinold Baudisch
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.
2022-10-20Make `BaseButton` Shortcut feedback togglableGeorge L. Albany
2022-10-19Merge pull request #66279 from aaronfranke/control-min-sizeMax Hilbrunner
Revert `custom_minimum_size` type back to `Vector2` instead of `Vector2i`
2022-10-19Simplify GDVIRTUAL_CALL callskobewi
2022-10-18Improve ColorPicker sliders in OKHSL modekobewi
2022-10-18Unify usage of GLOBAL/EDITOR_GETkobewi
2022-10-18Code simplificationsMarkus Sauermann
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
2022-10-18Add Caret Insert Below and Above shortcuts to TextEditPucklaMotzer09
2022-10-18Use more reasonable scrollable conditions in `ScrollContainer`Rindbee
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.
2022-10-17Support AtlasTexture in radial modes of TextureProgressBararkology
2022-10-16Fix undo redo not adjusting TextEdit viewport to caretPaulb23
2022-10-16Fix crash in code completion when using an invalid / null fontPaulb23
2022-10-16Forcibly end current TextEdit action on undo redoPaulb23
2022-10-14Abort LineEdit shaping if no font is set to avoid unnecessary error messages.bruvzg
2022-10-13Merge pull request #67348 from Mickeon/salvage-a-dear-commentRémi Verschelde
Comment not to remove `data` structs in some Nodes
2022-10-13Comment not to remove `data` structs in some NodesMicky
2022-10-13Merge pull request #66337 from EricEzaM/sprite-framesRémi Verschelde
Ensure control built-in shortcuts are matched exactly & add shortcuts for SpriteFrames editor
2022-10-13Merge pull request #66357 from EricEzaM/shortcut-context-on-nodeRémi Verschelde
Move Shortcut Context to control and fix `shortcut_input` with `shortcut_context`
2022-10-13Move Shortcut Context to Control and ensure that `shortcut_input` adheres to ↵Eric M
contexts. Also ensure that controls with no context are only triggered AFTER nodes which do have a context.
2022-10-13fixed holding alt while zooming zooms in by 2 increments.MladoniSzabi