Rémi Verschelde
19a50127e5
Merge pull request #88690 from MajorMcDoom/color-picker-fix
...
Fix undo/redo behavior of ColorPicker and add ability to cancel/confirm color selection
2024-03-26 13:45:06 +01:00
Rémi Verschelde
f371b7fb70
Merge pull request #87883 from TontonSancho/text-skip-occurence
...
Add 'Skip to next (text) occurrence' feature to text editor
2024-03-25 13:15:56 +01:00
Rémi Verschelde
0acfb38376
Merge pull request #89875 from bruvzg/menu_use_rids
...
[MenuBar] Use NativeMenu RIDs instead of indices to track items.
2024-03-25 11:19:01 +01:00
Christophe Andral
c988bec4b3
Add 'Skip to next (text) occurrence' feature to text editor
...
Adds `ui_text_skip_selection_for_next_occurrence` action and related implementation to text editor.
This action is bound `Ctrl+Alt+D` shorcut.
Used in conjonction with `ui_add_skip_selection_for_next_occurrence`, it gives the user the ability to select many occurrences of a selection
and avoid some of them.
Used without a previous selection, the action jumps to the next occurrence of the current word under the caret.
2024-03-25 11:12:28 +01:00
bruvzg
5851f1e2dd
[MenuBar] Use NativeMenu RIDs instead of indices to track items.
2024-03-25 10:58:05 +02:00
Zi Ye
d827b34ea8
Fixed undo/redo behaviour of color picker and added ability to cancel/confirm color selection.
2024-03-24 15:12:11 -05:00
Alistair Leslie-Hughes
13d83dd4d7
Correct FileDialog Theme overrides
...
Introduced in 15fd025f90
Fixes #89818
2024-03-24 19:33:05 +11:00
Rémi Verschelde
6ccf425a68
Merge pull request #89664 from voylin/tree-empty-clicked-fix
...
Fix `empty_clicked` signal in Tree when using `hide_root`
2024-03-24 01:20:59 +01:00
Rémi Verschelde
cd4e4c0fcc
Merge pull request #89111 from AThousandShips/vec_use
...
Use `Vector*` component-wise `min/max/clamp` functions where applicable
2024-03-24 01:14:51 +01:00
Rémi Verschelde
e92806c7e7
Merge pull request #88424 from rburing/fti_2d
...
Physics interpolation (2D)
2024-03-24 01:13:53 +01:00
Rémi Verschelde
f0544ebba6
Merge pull request #87874 from AThousandShips/sort_fix
...
Fix sorting of files/dirs in dialogs
2024-03-24 01:13:12 +01:00
Ricardo Buring
2ed2ccc2d8
Fixed Timestep Interpolation (2D)
...
Adds fixed timestep interpolation to the rendering server (2D only).
Switchable on and off with a project setting (default is off).
Co-authored-by: lawnjelly <lawnjelly@gmail.com>
2024-03-23 12:28:36 +01:00
voylin
d339c71edc
Fix empty_clicked signal when hide_root
...
fix
2024-03-22 09:19:56 +09:00
A Thousand Ships
79ba22a73f
Use Vector*
component-wise min/max/clamp
functions where applicable
2024-03-20 13:47:42 +01:00
A Thousand Ships
2cbf469912
Fix sorting of files/dirs in dialogs
...
Sorts leading `_` before other characters except `.`.
2024-03-20 13:45:47 +01:00
VolTer
de8b6f7a3c
Add editor settings for autocompletion with NodePath and StringName
2024-03-19 17:23:54 +02:00
Rémi Verschelde
5f3b284cd9
Merge pull request #89510 from bruvzg/lbl_shadow_step
...
[Label] Move shadow drawing into a separate draw step.
2024-03-15 11:07:33 +01:00
Rémi Verschelde
70bcf2175c
Merge pull request #89506 from bruvzg/menu_fix1
...
Fix NativeMenu layout direction on macOS, add extra check for Windows menu.
2024-03-15 10:40:17 +01:00
bruvzg
af9e8128f9
[Label] Move shadow drawing into a separate draw step.
2024-03-15 11:24:08 +02:00
bruvzg
3459aaa9d1
Fix NativeMenu layout direction on macOS, add extra check for Windows menu.
2024-03-15 09:48:54 +02:00
kleonc
f08e782916
Fix Control::set_global_position for rotated/scaled transforms
2024-03-15 04:19:52 +01:00
Rémi Verschelde
4163fb9c26
Merge pull request #89489 from YeldhamDev/yet_another_etr_fix
...
Fix some translations not properly falling back
2024-03-14 22:35:41 +01:00
Rémi Verschelde
a5a5ce7052
Merge pull request #89469 from garrettgu10/ggu/multicursor-bugfix
...
Fix bug related to multicursor and backspacing with brackets
2024-03-14 22:35:20 +01:00
Michael Alexsander
05f6c56a48
Fix some translations not properly falling back
2024-03-14 16:38:12 -03:00
Garrett Gu
4ab08fb99f
Fix bug related to multicursor and backspacing with brackets
2024-03-14 11:48:48 -05:00
bruvzg
ac7583e449
[NativeMenu] Implement native popup menu support on Windows.
2024-03-13 10:51:38 +02:00
Rémi Verschelde
20373d026d
Merge pull request #89419 from KoBeWi/losing_control
...
Fix some AcceptDialog argument types
2024-03-12 16:28:10 +01:00
kobewi
a7b6bcb988
Fix some AcceptDialog argument types
2024-03-12 14:33:43 +01:00
bruvzg
433de7f1a8
[RTL] Use "visible characters" property for inline object visibility
2024-03-12 11:28:45 +02:00
Rémi Verschelde
1bbdbbaada
Merge pull request #89242 from RafaelRain18/master
...
Fix region section not ignoring #region and #endregion when in a string
2024-03-11 14:02:30 +01:00
Rémi Verschelde
9a098458cc
Merge pull request #85325 from TheSofox/text-edit-undo-fix
...
Fixes for undo in text editor grouping unrelated actions
2024-03-11 14:02:17 +01:00
Rafael Chuva
8c36282feb
Fix region section not ignoring #region and #endregion when in a string
...
When using the script editor, if the keywords #region and #endregion where
in a string and ate the start of the line, the editor would not ignore them
and count them as the actual keywords, which when folded, would only fold
until the first #endregion in a string, for example.
By checking if these keywords were in a string, this commit now ensures the
editor ignores strings and fold the section correctly.
Fixes #89115 .
2024-03-11 00:04:39 +00:00
bruvzg
da02ca7e75
[NativeMenu] Add checks to avoid unnecessary warnings.
...
Added by Rémi: Add dummy NativeMenu to DisplayServerHeadless,
fixing crashes when using `--headless`.
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2024-03-07 00:23:26 +01:00
Rémi Verschelde
13954fc33e
Merge pull request #87452 from bruvzg/native_menu
...
Move `global_menu_*` methods to a separate `NativeMenu` class.
2024-03-06 13:16:52 +01:00
Rémi Verschelde
c84d3385f7
Merge pull request #88300 from FaycalElOuariachi/add-TreeItem-is_visible_in_tree
...
Add `is_visible_in_tree` in `TreeItem`
2024-03-05 23:44:29 +01:00
Sofox
83dffe4816
Fixes for undo in text editor grouping unrelated actions
2024-03-05 10:25:47 +00:00
Rémi Verschelde
6d1ac18dee
Merge pull request #89158 from bruvzg/rtl_meta_hover_fix
...
[RTL] Fix meta hover area detection.
2024-03-05 09:56:12 +01:00
Rémi Verschelde
2d408f48e7
Merge pull request #88546 from bruvzg/indent_wrap
...
[TextEdit] Add support for optional wrapped line indentation.
2024-03-05 09:55:51 +01:00
Faycal ElOuariachi
50cf7e1778
Add is_visible_in_tree in TreeItem
2024-03-05 03:38:33 +01:00
Hugo Locurcio
4f8d7cae26
Add Ctrl + L / Cmd + Shift + G shortcut to focus path bar in FileDialog
...
This also tweaks EditorFileDialog to use the same shortcut,
while making it select the path text after focusing
(like in most file managers).
Ctrl + L / Cmd + Shift + G can also now be used to focus on the
property name in the project settings editor, as well in the
Input Map, Autoload, Shader Globals and Global Groups tabs.
2024-03-05 00:02:09 +01:00
bruvzg
c65a667924
Move global_menu_*
methods to a separate NativeMenu
class.
2024-03-04 23:41:41 +02:00
bruvzg
42e6cda14e
[RTL] Fix meta hover area detection.
2024-03-04 22:06:16 +02:00
Rémi Verschelde
de59a9547c
Merge pull request #89100 from YeldhamDev/tag,_it_is_you!
...
Fix issues with text clearing in `RichTextLabel`
2024-03-04 13:34:13 +01:00
Rémi Verschelde
aebd746c79
Merge pull request #88068 from WhalesState/grabber
...
Fix `Slider`'s mouse drag position when grabber is centered
2024-03-04 13:33:15 +01:00
Michael Alexsander
d6917d2206
Fix issues with text clearing in RichTextLabel
2024-03-02 21:38:32 -03:00
Michael Alexsander
612eed164c
Add auto translation to Tree
2024-03-01 12:21:45 -03:00
Rémi Verschelde
8e951fd0a9
Merge pull request #89024 from bruvzg/rtl_hover_meta
...
[RTL] Add optional `push_meta` argument to control how meta underline is drawn.
2024-03-01 15:00:41 +01:00
Rémi Verschelde
c1377920cd
Merge pull request #86743 from Mickeon/autocompletion-optimise-object
...
Optimise comparisons for Object's `get_argument_options`
2024-03-01 14:56:06 +01:00
Rémi Verschelde
8e45506070
Merge pull request #85801 from HolonProduction/select-whole-words-line-edit
...
Allow dragging selection when selecting whole words in `LineEdit`
2024-03-01 14:55:53 +01:00
bruvzg
2a3de7adc3
[RTL] Add optional push_meta
argument to control how meta underline is drawn.
2024-03-01 12:07:06 +02:00