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
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
matheusmdx
e8254dc3f4
Fallback to theme icon when no custom icon is set in autocompletion
2024-08-19 16:16:06 -03:00
kit
06b17a4d2f
Fix goto line issues in code editor
2024-07-31 10:34:10 -04:00
Danil Alexeev
063a362755
Editor: Consider tabs when calculating column for jump to error
2024-07-17 18:20:50 +03:00
Rémi Verschelde
7e644fb6a1
Merge pull request #93674 from kitbdev/fix-find-result-count
...
Fix find result current match count issues
2024-06-28 11:35:17 +02:00
Rémi Verschelde
89cf82fbde
Merge pull request #93056 from kitbdev/stop-highlighting
...
Fix find highlight when switching scripts
2024-06-28 11:34:46 +02:00
kit
17c8e8b2b4
Fix find result current match count
2024-06-27 14:04:40 -04:00
Rémi Verschelde
b63df071bd
Merge pull request #92514 from /addWordSeparators
2024-06-25 09:19:35 +02:00
Volkan Gezer
e60678f193
enable custom separators to treat different characters as words
2024-06-24 20:43:13 +02:00
A Thousand Ships
fbb879debd
[Scene] Add SceneStringNames::text/value_changed
2024-06-19 09:44:38 +02:00
A Thousand Ships
d519715d94
[Scene] Add SceneStringNames::font(_size/_color)
2024-06-18 17:24:27 +02:00
kit
e3195bd15b
Fix find highlight when switching scripts
2024-06-11 15:56:38 -04:00
A Thousand Ships
755a0efbb6
[Scene] Add SceneStringNames::id_pressed
2024-05-30 22:54:04 +02:00
Rémi Verschelde
838eb5a0fd
Merge pull request #87099 from bitwise-aiden/ba-add-trim-newlines
...
Implement `trim_final_newlines` setting and functionality
2024-05-30 11:47:28 +02:00
A Thousand Ships
ee79386f7b
[Scene] Add SceneStringNames::pressed
2024-05-14 15:51:28 +02:00
Rémi Verschelde
147e737328
Merge pull request #91923 from hakro/fix-completion-custom-icon
...
Show custom icons in autocompletion suggestions
2024-05-14 12:07:10 +02:00
Hakim
c749affef3
Show custom icons in autocompletion suggestions
2024-05-14 00:12:28 +02:00
kobewi
413c11357d
Use Core/Scene stringnames consistently
2024-05-13 23:41:07 +02:00
kit
ef3cf7dc0f
Select next text to replace
2024-05-09 18:00:09 -04:00
Aiden Storey
b4c1634b52
Implement trim_final_newlines functionality
2024-05-02 22:57:34 -04:00
kit
773a473807
Overhaul multiple caret editing in TextEdit.
...
Use a multicaret edit to delay merging overlapping carets until the end.
2024-04-26 14:26:10 -04:00
kit
154f727c7a
Overhaul TextEdit selection.
...
The caret is now a part of the selection.
2024-04-26 14:24:10 -04:00
kobewi
3a1246c198
Store line change in script navigation history
2024-04-25 23:22:47 +02:00
Haoyu Qiu
bafbdc6cb2
Improve search/replace bar behavior
...
- When multiple lines are selected:
- Find: Keep previous search instead of putting those lines in the
find input.
- Replace: Focus find input instead of replace input.
- Add placeholder and tooltip for LineEdits and icon buttons.
- Disable related buttons when the operation makes no sense.
2024-04-10 10:10:17 +08:00
Rémi Verschelde
77cc2501e1
Merge pull request #89690 from Calinou/editor-improve-native-shader-inspector
...
Improve the editor native shader source visualizer
2024-03-24 01:21:42 +01:00