Commit Graph
93 Commits
Author SHA1 Message Date
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
bigguy345 e79bf294f1 Can now click on and highlight fractional lines 2025-12-19 02:09:18 +02:00
bigguy345 9ef4b6ecdf Fixed phantom empty trailing line being renderer but not removable 2025-12-19 01:56:03 +02:00
bigguy345 295e7cd9cd Deleted entire whitespace-only lines on Backspace (regardless of indent/scope 2025-12-19 01:21:00 +02:00
bigguy345 c171fac4be {} scaffold generation now ignores any whitespaces between { and cursor position 2025-12-19 01:17:07 +02:00
bigguy345 8edf09f215 Fixed cursor double/triple click starting selection from after the cursor 2025-12-19 01:08:36 +02:00
bigguy345 21a7922a95 mouseClicked refactor + documentation 2025-12-18 23:16:08 +02:00
bigguy345 7ccd4a57b7 More refactoring, code clean up and documentation 2025-12-18 22:52:32 +02:00
bigguy345 d420d3228e Post-refactor clean up 2025-12-18 22:37:40 +02:00
bigguy345 79edd08ff4 CRAZY GuiScriptTextArea MODULATION (W OPUS 4.5) 2025-12-18 22:11:42 +02:00
bigguy345 6373839870 CRAZY GuiScriptTextArea REFACTOR (W OPUS 4.5) 2025-12-18 21:10:25 +02:00
bigguy345 e987f596ef Centered text in new line height + brightened current selected line number color 2025-12-18 19:08:32 +02:00
bigguy345 8a5e1fb062 Enter/Backspace/Tab/Up/Down now auto scroll to the cursor's position !!! 2025-12-18 19:07:05 +02:00
bigguy345 492bec21c3 Dynamically calculated gutter width based on line number digits 2025-12-18 15:57:48 +02:00
bigguy345 9afe569677 Shifted LINE GUTTER to the left by 1 px 2025-12-18 14:48:14 +02:00
bigguy345 793a2753fe When Enter is pressed to insert new line, compensated by scrolling +1 to keep cursor at same position 2025-12-18 14:44:09 +02:00
bigguy345 cec05c33cf No longer drawing first indent depth as new line gutter's indent replaces that 2025-12-18 14:07:18 +02:00
bigguy345 01cbcbd026 ADDED LINE NUMBER GUTTER TO TEXT EDITOR 2025-12-18 14:05:39 +02:00
bigguy345 4fa6770b64 Improved scroll bar mouse click logic 2025-12-18 13:39:32 +02:00
bigguy345 be9bf8759a Fixed lowest line-length segment of indent being cut off 2025-12-18 13:39:14 +02:00
bigguy345 58a559e28b Further scroll smoothening + improved scroll bar mouse click/drag functionality 2025-12-18 13:13:53 +02:00
bigguy345 d774688bb6 Scrolling animation easing 2025-12-18 12:28:17 +02:00
bigguy345 b583608d5a Smoothened scrolling experience in text editor 2025-12-18 12:05:57 +02:00
bigguy345 1e4630c619 Fixed last line possible visible line in text editor viewport not being rendered + scissored the viewport 2025-12-18 11:51:50 +02:00
bigguy345 741ce3558d Adjust brace highlight size 2025-12-18 11:27:00 +02:00
bigguy345 24c96cf8e1 Increased cursor size 2025-12-18 11:25:46 +02:00
bigguy345 7952661a7e Cursor animation now stays solid (no blinking) for 500ms after typing/clicking 2025-12-18 11:23:54 +02:00
bigguy345 2e72eb2126 Current scope braces highlighting now accounts for whitespaces between brace and cursor 2025-12-18 11:12:59 +02:00