422 Commits

Author SHA1 Message Date
Danil Alexeev
db9b8ff003
CodeEditor: Make possible to select and copy error text 2025-06-12 22:06:09 +02:00
Pāvels Nadtočajevs
22b5a2fc5c
Change editor button focus mode to FOCUS_ACCESSIBILITY. 2025-06-08 15:53:27 +03:00
kobewi
c32a031908 Improve auto-translation of Script Editor 2025-06-04 14:41:15 +02:00
Thaddeus Crews
cb0f2b5230
Merge pull request #106117 from jaydensipe/zoom-performance-smoooooth
Improve zoom performance in `Script` and `Shader` editors
2025-05-09 11:29:12 -05:00
Jayden Sipe
a874863c46 Improve zoom performance in Script and Shader editors 2025-05-08 19:33:21 -04:00
Fredia Huya-Kouadio
a088b5dc23 Disable showing the virtual keyboard on focus events for certain editor components 2025-05-06 07:07:49 -04:00
Jayden Sipe
201238168c Some QOL and cleanup to EditorHelp's FindBar 2025-04-30 21:43:05 -04:00
Thaddeus Crews
32eafc18b4
Merge pull request #103806 from arkology/find-replace-bar-ui
`FindReplaceBar`: Fix "Replace (All)" buttons repositioning, improve "Hide" button visual feedback
2025-04-30 09:18:46 -05:00
Thaddeus Crews
48bdf3c0c4
Merge pull request #104739 from Nolkaloid/fix-code-editor-error-length
Limit error messages in CodeTextEditor to 2 lines length
2025-04-28 14:10:46 -05:00
Thaddeus Crews
a26c05d7e5
Merge pull request #104169 from CreatedBySeb/fix-error-panel-hiding
Fix error panel auto-hiding
2025-04-27 19:21:32 -05:00
Thaddeus Crews
3947cbe3b2
Merge pull request #104386 from Repiteo/core/cpp-math
Core: Replace C math headers with C++ equivalents
2025-04-27 19:21:22 -05:00
Pāvels Nadtočajevs
5b49fd4207
Selectively apply FOCUS_ACCESSIBILITY to the Labels instead of setting it by default. 2025-04-23 12:47:31 +03:00
Thaddeus Crews
ad40939b6f
Core: Replace C math headers with C++ equivalents
- Minor restructuring to ensure `math_funcs.h` is the central point for math functions
2025-04-16 15:49:02 -05:00
Hugo Locurcio
e8eeccebcb
Unify Scripts Panel naming for the script and shader editors
Both use the same shortcut and action, so it makes sense to call it
a Files panel as opposed to a Scripts panel.
2025-04-09 01:17:36 +02:00
Pāvels Nadtočajevs
302fa831cc
Initial editor accessibility. 2025-04-08 20:25:48 +03:00
Yufeng Ying
7a1a970c25 size() <= 0 and size() < 1. 2025-04-02 19:18:44 +08:00
Nolkaloid
410d6eee45
Limit error messages in CodeTextEditor to 2 lines length 2025-03-28 22:27:43 +01:00
Rémi Verschelde
fd02ff8d02
Merge pull request #104703 from bruvzg/loc_dir_icons
Fix updating editor icons on translation change.
2025-03-28 17:30:49 +01:00
Pāvels Nadtočajevs
e47207ad16
Fix updating editor icons on translation change. 2025-03-28 15:04:32 +02:00
kobewi
75881f8322 Use initializer list in Arrays 2025-03-26 18:38:15 +01:00
Sébastien Dunne Fulmer
cabcb4161b
Fix error panel auto-hiding 2025-03-15 09:08:30 +00:00
arkology
186d68740c FindReplaceBar: Fix "Replace (All)" buttons repositioning, improve "Hide" button visual feedback
"Replace" and "Replace All" buttons now do not change their position depending on the availability of search results.
Additional changes:
- `VBoxContainer *vbc_lineedit` declaration has been removed from the header because it is not used outside the `FindReplaceBar` constructor.
- `hide_button` was changed from `TextureButton` to `Button` for consistency - this allows to visually see the feedback when hovering and pressing and also not set its icon 3 times instead of 1.
2025-03-08 14:02:29 +03:00
Thaddeus Crews
c937b6d180
Merge pull request #102419 from Ivorforce/std-size
Use `std::size` instead of `sizeof(a) / sizeof(a[0])` pattern throughout the codebase.
2025-03-07 15:12:25 -06:00
Lukas Tenbrink
e34f1f504c Use std::size instead of sizeof(a) / sizeof(a[0]) pattern throughout the codebase. 2025-02-07 14:57:48 +01:00
Marius Hanl
4d488e8cc9 Fix Escape does not work the first time when pressed at the Find(Replace)Bar 2025-02-02 18:31:12 +01:00
Haoyu Qiu
4c4f29a490 Fix several i18n issues in editor 2025-01-26 16:41:10 +08:00
Anish Mishra
b753b87ec5 Android Editor: Disable magnify gesture in the ScriptEditor 2025-01-20 20:56:41 +05:30
HolonProduction
5c9d80592a Add icon for local variable completion options 2025-01-11 17:22:21 +01:00
Rémi Verschelde
703552c51b
Merge pull request #100240 from WhalesState/line-edit-focus
`LineEdit` add member `keep_editing_on_text_submit`
2025-01-03 00:48:34 +01:00
Mounir Tohami
e89c196a80 LineEdit add member keep_editing_on_text_submit.
Allow users to exit edit mode when Enter is pressed.
2025-01-02 23:41:27 +02:00
A Thousand Ships
a1846b27ea
Improve use of Ref.is_null/valid
Use `is_null` over `!is_valid` and vice versa.
2024-12-23 16:35:02 -05:00
Thaddeus Crews
98c5267ce5
Merge pull request #91388 from kitbdev/fix-goto-line
Make Goto line a Popup and column input
2024-12-23 11:15:12 -06:00
Haoyu Qiu
bf4e5cca3f Make editor's shortcut names translated on-site 2024-12-18 13:00:30 +08:00
kobewi
0ffdb6b993 Fix Timer error on startup 2024-12-17 22:26:54 +01:00
Rémi Verschelde
bf0f1054db
Merge pull request #87542 from Mickeon/code-editor-idle-parse-delay-I-am-speed
Make the Script Editor's parser execute sooner on edit after error was found
2024-12-17 16:18:33 +01:00
Micky
02cc1879fd Make Script Editor's parser execute sooner if errors are known to exist 2024-12-16 17:02:07 +01:00
A Thousand Ships
af56d6e8e8
Use SceneStringName in more places 2024-12-02 14:39:16 +01:00
kit
f41cd8ad52 Make Goto line a Popup and allow column input 2024-10-31 10:11:46 -04:00
Aaron Franke
562c666e3d
Rename internal Button icon to button_icon to match exposed methods 2024-10-29 16:23:03 -07:00
Mounir Tohami
f84f734696 Expose LineEdit edit and unedit methods. 2024-10-04 10:37:33 +00:00
Jayden Sipe
b72d8a3dff Cancel code completion and code hint in multiple places 2024-10-01 12:40:40 -04:00
Rémi Verschelde
720c236fc0
Merge pull request #90743 from timothyqiu/empty-selection-clipboard
Add TextEdit option to prevent copying without a selection
2024-09-23 12:27:35 +02:00
Rémi Verschelde
8738aae9fc
Merge pull request #94569 from Calinou/script-editor-tweak-zoom-presets
Tweak script editor zoom presets to be more useful
2024-09-20 16:26:23 +02:00
Hugo Locurcio
84e278cbfd
Tweak script editor zoom presets to be more useful
The presets are now 50%, 75%, 90%, 100%, 110%, 125%, 150%.

This also mentions Ctrl + mouse wheel in the tooltip.
2024-09-20 15:42:15 +02:00
Haoyu Qiu
504e0656bb Add TextEdit option to prevent copying without a selection 2024-09-14 09:39:36 +08:00
Elliot Fontaine
86762f0a03 Code Editor: Add button to toggle between search and search+replace modes 2024-09-08 10:39:06 +02:00
Rémi Verschelde
3bc84c2988
Merge pull request #63744 from KoBeWi/shader_spaghetti
Refactor toggling script list
2024-08-28 17:14:56 +02:00
kobewi
b4c92dbd0e Refactor toggling script list 2024-08-28 17:00:51 +02:00
Yuri Rubinsky
52889ab7ee [Scene] Add SceneStringName::toggled 2024-08-28 15:14:26 +03:00
Rémi Verschelde
d35bee9cdd
Merge pull request #94002 from kitbdev/fix-goto-error
Fix goto line issues in code editor
2024-08-27 22:27:25 +02:00