Commit Graph
2987 Commits
Author SHA1 Message Date
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 67b2ba16dd Documented JavaTextContainer.init 2025-12-20 14:49:11 +02:00
bigguy345 4973203f72 Removed unused 2025-12-20 14:21:53 +02:00
bigguy345 fad17fa3bd Closed unfocused search bar on escape (again) 2025-12-20 14:19:32 +02:00
bigguy345 49a5159810 Drawn all unclosed/missing
braces in RED
2025-12-20 14:18:35 +02:00
bigguy345 af0553ba0d Fixed KeyPreset throttling logic
so ONLY HOLD presses are affected
2025-12-20 13:55:42 +02:00
bigguy345 4b7effe2d7 Improved replace exclusion QoL 2025-12-20 13:28:31 +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 39c768e965 Merge remote-tracking branch 'origin/janino-scripts' into janino-scripts 2025-12-20 12:20:18 +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 db0e7da834 Calculated closeOnEsc logic first thing in method (to fix closeOnEsc closing searchBar & entire gui in the same click) 2025-12-20 11:55:40 +02:00
bigguy345 4715e2ffbf Implemented closeOnEsc supplier for ScriptTextArea 2025-12-20 11:53:26 +02:00
bigguy345 7e62dbc3fa closeOnEsc supplier for GuiNpcInterface 2025-12-20 11:53:11 +02:00
somehussar ba4a159dca Merge remote-tracking branch 'origin/janino-scripts' into janino-scripts 2025-12-20 02:56:52 +01: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 ec40a1c580 Renamed Search & Replace to just Replace 2025-12-20 02:34:56 +02:00
bigguy345 7f79609c18 Improved SearchReplaceBar rendering, it's template now matches GoToLineDialog 2025-12-20 02:34:00 +02:00
bigguy345 3e8e70b292 Merge remote-tracking branch 'origin/janino-scripts' into janino-scripts 2025-12-20 02:32:22 +02:00
bigguy345 92431ab2a9 Replace key now only opens/updates replace search bar, not close. 2025-12-20 02:29:42 +02:00
somehussar b150cd0608 Rename compilers and add clearing logic. 2025-12-20 01:21:35 +01:00
somehussar d14d6a5463 Merge remote-tracking branch 'origin/janino-scripts' into janino-scripts 2025-12-20 01:11:03 +01:00
somehussar 69c87404e7 Clean up class filter registration 2025-12-20 01:10:26 +01: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 950a749be6 Fixed KeyPreset not fully respecting SHIFT/ALT/CTRL modifiers + removed redundant code 2025-12-20 00:51:33 +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 780dc4ca76 Stop sorting keys list, create sorted copy instead.
Made it so the rendering for them would still work for visual grouping, but the ticking logic wouldn't suffer
2025-12-19 23:23:39 +01:00
somehussar 2efdafe254 Fix priority calculations. 2025-12-19 23:15:48 +01:00
somehussar 0cbfe526cb Add search / replace unwind button 2025-12-19 23:09:17 +01:00
somehussar 3568fb8a86 Give priority of keybinds with special keys
Stop searching if found match.
2025-12-19 23:08:37 +01: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 78fc2bd3fd Colored search bar/results found in red when no matches 2025-12-19 23:22:54 +02: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