Commit Graph
214 Commits
Author SHA1 Message Date
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
bigguy345 32e82fc9c9 temp indents 2025-12-17 17:37:42 +02:00
bigguy345 0f29e654aa Fixed and refined broken line backspace logic 2025-12-17 15:38:19 +02:00
bigguy345 afd2a9fb35 Multi line comment (Ctrl + /) now calculates new start/end selection points 2025-12-17 15:18:33 +02:00
bigguy345 c062c1340b Can now click empty lines in Script Editor
(accounted for empty trailing lines)
2025-12-17 15:13:38 +02:00
bigguy345 31ea784998 Fixed text cursor movement bugs 2025-12-17 14:33:17 +02:00
bigguy345 04d3a1339e Local and Global fields syntax highlight 2025-12-17 11:55:58 +02:00
bigguy345 422ebea54f Script Editor: BACKSPACE now deletes lines with empty spaces 2025-12-17 10:46:08 +02:00
bigguy345 4ed809989d Fixed Script Editor text cursor not drawing on last line character 2025-12-17 10:45:45 +02:00
bigguy345 3cbdab3dc4 Added duplication/commenting for multiple lines 2025-12-17 10:17:15 +02:00
bigguy345 d162804c64 Script Editor Keybinds:
1)Ctrl + D for line duplication
2)Ctrl + Slash for comments
2025-12-17 09:53:32 +02:00
bigguy345 d59e7f5d33 All new Java syntax highlighting (WIP!) 2025-12-16 18:33:55 +02:00
bigguy345 e261f18aa9 GuiScrollWindow backgroundColor 2025-12-16 01:05:23 +02:00
bigguy345 4128bbff8b Called save() in SubGuiInterface.close 2025-12-15 12:37:17 +02:00
bigguy345 93e6a92b59 Made GuiNpcButtons with multiple displays i.e ("Hair","Eyes","Fur")
right clickable to select in reverse
2025-12-09 17:46:07 +02:00
bigguy345 7adbdd30e4 More GUI NPC rendering improvements 2025-12-09 15:01:01 +02:00
bigguy345 27de3c77a4 Hooked renderingEntityInGUI accordingly 2025-12-09 13:45:38 +02:00
bigguy345 00ea0200c4 Fixed GuiScrollWindow scrolling when a subgui is open 2025-12-09 13:45:07 +02:00
bigguy345 cca69d8e1d Added GUI NPC rendering utilities 2025-12-09 12:49:40 +02:00
bigguy345 0ef48c5477 Better fix for ESC closing all sub guis at once 2025-12-09 11:12:30 +02:00
Kam 3009c97bc9 Close On Esc Support 2025-11-05 17:25:14 -05:00
Kam 3ca8b9664b Clamp selection bounds in script text area 2025-10-15 06:28:43 -04:00
Kam 9c541999f3 Optimize Imports 2025-07-23 14:22:52 -04:00
Kam 7d0b44d638 fix StringIndexOutOfBounds in GuiScriptTextArea 2025-07-23 13:52:48 -04:00
Kam fd43cd6b67 Fix Tooltip 2025-07-07 14:22:27 -04:00
Kam 5d4721dc20 Public 2025-06-29 14:32:24 -04:00
Kam 8b3ae8d73a Make list height public 2025-06-26 17:48:24 -04:00
Kam 96496a40e2 Split Hover Text by New Lines 2025-06-03 19:06:07 -04:00
Kam ae7e7018c5 More Cleanup 2025-05-20 13:53:32 -04:00