Commit Graph
136 Commits
Author SHA1 Message Date
bigguy345 78a6a29b1c Validated right hand expression type is the expected type at variable declaration, and underlined the mismatched type's token if not. 2025-12-25 23:12:36 +02:00
bigguy345 b38f193d08 Improved CTRL + Left/Right logic 2025-12-25 11:35:39 +02:00
bigguy345 92cffdf555 Improved CTRL + Backspace logic 2025-12-25 11:31:42 +02:00
bigguy345 51993c3efc HUGE MASSIVE REFACTOR! BRAND NEW SYNTAX HIGHLIGHT/IMPORT RESOLUTION FRAMEWORK 2025-12-23 00:01:23 +02:00
bigguy345 01e2c354d5 Adjusted OverlayKeyPreset to fullscreen mode 2025-12-22 16:31:12 +02:00
bigguy345 22ce3d0a1a Text editor gray BG accounts for full screen 2025-12-22 15:53:14 +02:00
bigguy345 1a1c2af548 Improved KeyPreset overlay dimensions and colorsfor GuiScriptTextArea 2025-12-22 14:37:08 +02:00
bigguy345 0dcd02c5a0 Slight OverlayKeyPreset logic improvements 2025-12-22 13:51:57 +02:00
bigguy345 f0740c6d7a Added openOnClick for OverlayKeyPreset 2025-12-22 13:43:58 +02:00
bigguy345 6012c103a6 Fixed search bar window resize buggin with replace bar open 2025-12-22 13:28:25 +02:00
bigguy345 85f8baeda5 wtf 2025-12-22 03:44:48 +02:00
bigguy345 b9ebaa3292 Fixed TAB + BACKSPACE bug again 2025-12-22 03:39:22 +02:00
bigguy345 d2bc98a4c1 Fixed CTRL+D crash 2025-12-22 03:34:21 +02:00
bigguy345 6aebcfc63c Fixed tab/backspace crash 2025-12-22 03:11:45 +02:00
bigguy345 3fb3b1dad3 Commented out RenameRefactor status box (unneeded) 2025-12-22 03:05:42 +02:00
bigguy345 c30fb77eb6 Made searchBar static and setCallbacks in init not constructor 2025-12-22 02:39:48 +02:00
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