bigguy345
a1e7a7ee9f
Improved undo/redo for new cached multi-tab script areas
2025-12-22 02:22:27 +02:00
bigguy345
0e3b0f047a
Cached all GuiScriptTextArea tabs of GuiScriptInterface (fixes all tabs sharing the same undo/redo lists and other similar undesired behaviors)
2025-12-22 02:22:01 +02:00
bigguy345
51aca95590
Fixed indent highlight being on the wrong braces block when braces are highlighted
2025-12-22 01:10:24 +02:00
bigguy345
f1d21496bd
Fixed rename/refactor undo pushing the newest state, not the previous one
2025-12-21 12:54:52 +02:00
bigguy345
9de9e799d5
Expanded Refactor BG box and drawn its bottom layer red
2025-12-21 12:18:28 +02:00
bigguy345
06c0a364a9
RenameRefactor bug fixes and QoL adjustments + improved code
...
formatting
2025-12-21 12:11:46 +02:00
bigguy345
e75e87dd43
Refactore/Rename KeyPrest + functionality
2025-12-21 00:49:34 +02:00
bigguy345
918c3acf7f
Add line padding at the bottom of the text editor
2025-12-20 20:59:39 +02:00
bigguy345
0124ad4fd4
Opening search bar now sets highlighted word as currentMatch
2025-12-20 20:30:04 +02:00
bigguy345
244424ea0d
Corrected args passed to callback
2025-12-20 19:51:19 +02:00
bigguy345
85b2fe24a2
SearchReplaceBar QoL:
...
* Shifted text editor viewport appropriately when opening/closing bar
* Bar is now maintained across multiple script tabs with its focus
* Can open bar without having main editor viewport focused
2025-12-20 19:50:28 +02:00
bigguy345
9a03ccf569
Cut indent lines height by 2 pixels if highlighted
2025-12-20 18:59:17 +02:00
bigguy345
ce9eb61059
Highlighted indent lines in green for selected braces only, not[] or () pairs
2025-12-20 18:56:58 +02:00
bigguy345
c091a31022
Reverted JavaTextContainer.init to its original state before phantom line bug destroyed it lol
2025-12-20 18:42:48 +02:00
bigguy345
16f894baca
FULLY fixed phantom trailing line bug (Backspace logic was adding an extra index)
2025-12-20 18:23:52 +02:00
bigguy345
b4fb4765f5
Fixed GoToLine line's last column going to first col in next line
2025-12-20 14:49:46 +02:00
bigguy345
49a5159810
Drawn all unclosed/missing
...
braces in RED
2025-12-20 14:18:35 +02:00
bigguy345
05bb9c0081
Undo/Redo keys can now be held down.
...
Implemented throttling intervals for KeyPresets for both first press & all subsequent presses
2025-12-20 12:51:49 +02:00
bigguy345
6b8b3a0596
Implemented Undo/Redo functionality for Search/ReplaceBar
2025-12-20 12:19:32 +02:00
bigguy345
a91039c026
Fixed ESC not closing searchBar/goToDialog when they are visible but not focused
2025-12-20 11:59:34 +02:00
bigguy345
4715e2ffbf
Implemented closeOnEsc supplier for ScriptTextArea
2025-12-20 11:53:26 +02:00
bigguy345
d06e7df1a0
Improved interaction between SearchReplaceBar and GoToLineDialog
2025-12-20 03:11:46 +02:00
bigguy345
762d52f658
Reset selection of search bar when unfocusing
2025-12-20 03:11:17 +02:00
bigguy345
92431ab2a9
Replace key now only opens/updates replace search bar, not close.
2025-12-20 02:29:42 +02:00
bigguy345
ed15ae861a
Ctrl+F now only opens/updates search bar, not close.
2025-12-20 02:03:02 +02:00
bigguy345
8514b9f980
Search bar now auto-opens on highlighted word
2025-12-20 02:02:43 +02:00
bigguy345
abd639438e
Fixed search bar matches not updating when new text updates happen in main editor
2025-12-20 02:00:58 +02:00
bigguy345
cf1afc9fca
Fixed mouse click being on main text area when search bar open (still WIP)
2025-12-20 02:00:13 +02:00
bigguy345
1c7f614c3f
Highlighted search match words if search bar is visible
2025-12-20 01:04:31 +02:00
bigguy345
df210367e0
Fixed search bar closing when goToLine pane opens
2025-12-20 00:57:36 +02:00
bigguy345
1ac7c0e797
Merge remote-tracking branch 'origin/janino-scripts' into janino-scripts
2025-12-20 00:32:10 +02:00
bigguy345
1702252629
Fixed resizing game window/gui initi'ing newly creating the text editor
2025-12-20 00:31:30 +02:00
somehussar
00eefb0887
Cap scroll to amount of visible lines, currently was capped to amount of lines + 1
2025-12-19 22:39:36 +01:00
somehussar
aca9cec48c
Make it shift down the viewport if search is
2025-12-19 22:38:43 +01:00
bigguy345
7ec0ce6f94
Implemented main editor focus/unfocus callbacks to GoToLine/SearchReplaceBar
2025-12-19 22:47:51 +02:00
bigguy345
825f3b4a39
Script Editor GoToLine GUI
2025-12-19 22:38:26 +02:00
bigguy345
c7bab53bdc
Huge bunch of SearcheReplaceBar fixes and QoL
2025-12-19 21:42:00 +02:00
bigguy345
0fce002b52
Search/Replace BAR FOR SCRIPT EDITOR FUUUUUUUUH
2025-12-19 19:48:08 +02:00
bigguy345
c7c516d97e
Overlay KeyPreset adjustments
2025-12-19 18:44:09 +02:00
bigguy345
993ce4b73f
Fixed CTRL + Right not working.
...
CTRL + X now cuts cursors sentence regardless of selection
2025-12-19 18:38:11 +02:00
bigguy345
94864fb19a
Fixed multi line comment changing cursor position
2025-12-19 18:29:52 +02:00
bigguy345
3e28437682
Switched to Supplier instead of Consumer
2025-12-19 18:25:32 +02:00
bigguy345
cc0a329370
Changed Script Editor key press type from single press to just press
2025-12-19 18:18:05 +02:00
bigguy345
124d82889d
Fixed cursor rendering +1 Y offset
2025-12-19 18:15:37 +02:00
bigguy345
ba9b86e6d0
Correct mouseClicked logic
2025-12-19 18:12:37 +02:00
bigguy345
9d8fd5bada
Drawn border for OverlayKeyPreset + accounted for text editor's scroll bar in init
2025-12-19 18:06:27 +02:00
bigguy345
37cd4f1b7a
OverlayKeyPreset tweaks
2025-12-19 16:39:53 +02:00
bigguy345
d717b00de0
Fully implemented OverlayKeyPresetViewer to GuiScriptTextArea
2025-12-19 16:04:07 +02:00
bigguy345
2556666072
Migrated Script Editor shortcut keys to proper ScriptEditorKeys handler with new KeyPreset API
2025-12-19 14:09:55 +02:00
bigguy345
cd4174713a
Fixed random bug of fractional lines sometimes not drawing during scrolling.
2025-12-19 02:26:05 +02:00