Commit Graph
3373 Commits
Author SHA1 Message Date
bigguy345 4468293dfd Merge remote-tracking branch 'origin/janino-scripts' into janino-scripts
# Conflicts:
#	src/main/java/noppes/npcs/client/gui/util/GuiScriptTextArea.java
2025-12-18 22:11:57 +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 52580bd1c1 TEMP CHECK POINT (Up/Down buttons auto scroll working) 2025-12-18 17:51:49 +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
bigguy345 19e5213f3c Fixed double click word highlight not accounting for numbers/single letters 2025-12-18 10:48:34 +02:00
bigguy345 1ab26a9e84 Refined text cursor rendering 2025-12-18 10:32:25 +02:00
bigguy345 10d6d0c408 Fixed highlighted braces drawing outside of text editor view port 2025-12-18 10:27:17 +02:00
bigguy345 4ee2bf432d Highlighted indents of the scope being viewed with green 2025-12-18 10:25:10 +02:00
bigguy345 3a0deb8c6d Centered word/sentence/selection highlights on their line more fitted 2025-12-18 10:10:42 +02:00
bigguy345 7bb5c541e3 Restored original double-click word select logic. Triple clicking now selects whole line 2025-12-18 10:00:02 +02:00
bigguy345 395ed1dc4a Highlighted current line the text cursor is on 2025-12-18 09:53:02 +02:00
bigguy345 2f6e8b9408 Drawn indents for the very first brace level 2025-12-18 09:40:48 +02:00
bigguy345 02be805c14 Another braces scaffold generation bug fixed 2025-12-18 02:06:14 +02:00
bigguy345 678c32e2da Decreased double click capture time window for more realistic capture 2025-12-18 01:22:20 +02:00
bigguy345 ca6409e3e5 Improved highlight selection rendering (changed color to more brighter and lines no longer vertically intersect 2025-12-18 01:21:45 +02:00
bigguy345 5da2c75c8f Added double click line selection 2025-12-18 01:14:16 +02:00
bigguy345 8b232bec4f Merge remote-tracking branch 'origin/janino-scripts' into janino-scripts
# Conflicts:
#	src/main/java/noppes/npcs/client/gui/util/GuiScriptTextArea.java
2025-12-18 01:09:21 +02:00
bigguy345 0220b804e8 Improved Line duplication logic (removed extra whitespace line inbetween and set cursor position correctly) 2025-12-18 01:09:06 +02:00
bigguy345 8d4ec579a7 Improved currentLine get logic 2025-12-18 01:00:27 +02:00
bigguy345 dceb600e52 Having cursor AFTER the braces { also highlight's the scope's remaining } 2025-12-18 00:52:50 +02:00
bigguy345 10d4681963 Braces{} scaffold creation is no longer done if the scope's } already exists 2025-12-18 00:51:40 +02:00
bigguy345 e41ab8ad91 Fixed first TAB at the very start of line missing first indent level by 1 character 2025-12-18 00:50:27 +02:00
bigguy345 7a661df47d CTRL + F formatting now calculates new cursor position correctly 2025-12-18 00:40:45 +02:00
bigguy345 91a7a8bf19 FIXED BACKSPACE INDENT ONCE AND FOR ALL (W opus 4.5) 2025-12-18 00:35:38 +02:00
bigguy345 2d0e16bdd8 backspace cursor position and enter indents fixed 2025-12-17 23:54:36 +02:00
bigguy345 7a20c8f3c8 temp fix( backspace indents semi working) 2025-12-17 23:51:28 +02:00
bigguy345 a9a2ce368c brain hurt probably temp gonna reroll this back 2025-12-17 21:59:35 +02:00
bigguy345 cddf2c2d60 Improved {} scaffold creation logic + tab indent bug fixes 2025-12-17 20:59:54 +02:00
bigguy345 caab5da3bc Having cursor after braces also highlights them 2025-12-17 20:20:31 +02:00
bigguy345 72998efae5 Merge remote-tracking branch 'origin/janino-scripts' into janino-scripts
# Conflicts:
#	src/main/java/noppes/npcs/client/gui/util/GuiScriptTextArea.java
2025-12-17 20:08:50 +02:00
bigguy345 e6423a6de0 Huge Text Editor Update:
1) Finished Indent levels rendering & logic

 2) Added Format Code bind (SHIFT+F)

 3) Added auto-completion to "", '', [] and () pairs and auto-generated brace {} scaffolds for if/try/catch/method blocks with proper indent level.

 4) Enter/Backspace/Up/Down now account for current indent level

 5) Tab/SHIF+TAB now cycle between next/previous indent levels accordingly
2025-12-17 20:06:47 +02:00
bigguy345 fb7bd685d4 Enter account for indent level 2025-12-17 18:35:26 +02:00
bigguy345 ae598003a8 Better indents MK.I 2025-12-17 18:13:29 +02:00