Commit Graph
2885 Commits
Author SHA1 Message Date
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
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
somehussar 24733892a0 Remove my shitty janino-loader 2025-12-15 21:07:19 +01:00
bigguy345 a9bfa6c120 ScriptController.globalRevision, Incremented whenever external scripts loaded. 2025-12-15 20:05:40 +02:00
bigguy345 41722a37d7 Sended necessary Scripting configs to client 2025-12-15 12:38:27 +02:00
bigguy345 4128bbff8b Called save() in SubGuiInterface.close 2025-12-15 12:37:17 +02:00
bigguy345 a8b3c0b8d4 All external scripts of type "Java" are now synced to client on login/script reload 2025-12-15 10:28:17 +02:00
bigguy345 8a2ba6ae4e Added new Script language "Java" with extension type ".java" 2025-12-14 22:15:56 +02:00
bigguy345 818c62bdf9 Added ScriptFilesPacket, which fetches all files of a given language 2025-12-14 22:15:20 +02:00
bigguy345 0a47eb953e Merge remote-tracking branch 'refs/remotes/upstream/dev' into janino-scripts 2025-12-14 21:48:22 +02:00
bigguy345 18ebc607b7 Made ScriptController.languages final 2025-12-14 21:41:21 +02:00
bigguy345 c291ab174f Made npc left/right leg model access public 2025-12-14 13:36:58 +02:00
bigguy345 c1cd8b0386 public EntityCustomNpc npc field to ModelMPM 2025-12-14 13:36:37 +02:00
somehussar 4d825b6cf3 Null out the loader. 2025-12-13 18:21:36 +01: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