bigguy345
58f86058d4
feat(hover): scrollbar drag/hover-highlight, smooth scroll, compact blank-line spacing
...
- HoverState: add smooth-scroll lerp (updateSmoothScroll, targetScrollOffset),
scrollbar thumb bounds (setScrollbarThumb), click/drag/release state methods,
and fix broken scrollTooltip/getTooltipScrollOffset/resetTooltipScroll methods
that referenced the deleted int field
- TokenHoverRenderer: call updateSmoothScroll each frame; store thumb bounds
for drag+hover detection; highlight thumb on hover/drag; reduce empty
DocumentationLine height from lineHeight+LINE_SPACING to lineHeight/2
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode )
Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai >
2026-03-04 22:54:38 +02:00
bigguy345
f1d902849e
Smart auto-pair insertion/skip-over for (), [], "" and '' in GuiScriptTextArea
2026-02-25 13:52:47 +02:00
bigguy345
2ca145b264
Fixed auto {} brace insertion not respecting existing } that has different indent/whitespaces
2026-02-25 13:04:07 +02:00
bigguy345
a107e045eb
Suppress redundant bracket pair generation in script editor and adjusted JSDoc Enter behavior
2026-02-24 21:19:30 +02:00
bigguy345
53f06ab388
Properly sanitized pasted text from trailing spaces at end of line, fixes forced soft-wrap when too many consecutive trailing spaces
2026-02-24 20:18:45 +02:00
bigguy345
98351bbc3c
dev merge
2026-02-03 04:25:16 +02:00
Kam
1b8ad4dd90
Player Abilities
2026-01-30 05:01:54 -05:00
bigguy345
235fd3b3f3
Improved comment/string excluded range detection for auto-pair insertion
2026-01-26 21:52:04 +02:00
bigguy345
ea8cc51eef
Prevented auto pair insertion of '', "", [], () blocks in excluded ranges (comments,strings)
2026-01-26 19:19:58 +02:00
bigguy345
ce7566e498
CTRL + Click on fields/methods/type to go to definition
2026-01-26 19:09:40 +02:00
bigguy345
1863038019
Atomic UNDO/REDO for all typed text (operates on entire words at once, not just characters)
2026-01-26 19:09:00 +02:00
bigguy345
8b5d3a2077
Copy with no selection now copies whole line, and pastes to a new line
2026-01-26 19:08:06 +02:00
bigguy345
940dc01a7c
DELETE_LINE, MOVE_LINE_UP and MOVE_LINE_DOWN KeyPresets
2026-01-26 19:05:32 +02:00
bigguy345
720d0dc1b9
On Autocomplete insertion, set cursor carat inside () if method has parameters
2026-01-26 19:01:54 +02:00
bigguy345
8fa22e1e60
Moved fullscreen button mouseClicked into GuiScriptTextArea
2026-01-26 04:56:42 +02:00
bigguy345
aae2fdb23a
Added DataScript global definitions i.e. npc, world, event to syntax highlighter as global vars
2026-01-26 03:49:38 +02:00
bigguy345
d3f06f8866
Reverted hook list scroll fix (cause it works fine without it)
2026-01-23 20:11:59 +02:00
bigguy345
96239118e7
OMG janino-scripts-final merge
2026-01-23 19:01:56 +02:00
Kam
a9b602713c
Large Cleanup to Code Imports and Formatting
2026-01-22 23:07:38 -05:00
Kam
31aac0d6b3
GUI fixes and small bug fixes to Script GUIs, Overlay GUI, etc
2026-01-22 22:52:04 -05:00
bigguy345
26a9c99000
All Imports used in JaninoScript implementations (param types/return types) are now passed implicitly to ScriptDocument to store for when hook stubs are generated/hooks are manually added
2026-01-14 03:02:15 +02:00
bigguy345
21e05575ad
merge conflicts
2026-01-14 00:30:25 +02:00
bigguy345
0a33f7dd12
Merge branch 'janino-scripts' into syntax-highlighter-unified
...
# Conflicts:
# src/main/java/noppes/npcs/blocks/tiles/TileScripted.java
# src/main/java/noppes/npcs/client/gui/GuiScript.java
# src/main/java/noppes/npcs/client/gui/script/GuiJaninoScript.java
# src/main/java/noppes/npcs/client/gui/script/GuiScriptEffect.java
# src/main/java/noppes/npcs/client/gui/script/GuiScriptInterface.java
# src/main/java/noppes/npcs/client/gui/script/GuiScriptLinkedItem.java
# src/main/java/noppes/npcs/client/gui/script/GuiScriptPlayers.java
# src/main/java/noppes/npcs/client/gui/script/GuiScriptRecipe.java
# src/main/java/noppes/npcs/controllers/data/DataScript.java
# src/main/java/noppes/npcs/controllers/data/EffectScript.java
# src/main/java/noppes/npcs/controllers/data/ForgeDataScript.java
# src/main/java/noppes/npcs/controllers/data/GlobalNPCDataScript.java
# src/main/java/noppes/npcs/controllers/data/IScriptHandler.java
# src/main/java/noppes/npcs/controllers/data/IScriptUnit.java
# src/main/java/noppes/npcs/controllers/data/LinkedItemScript.java
# src/main/java/noppes/npcs/controllers/data/PlayerDataScript.java
# src/main/java/noppes/npcs/controllers/data/RecipeScript.java
# src/main/java/noppes/npcs/janino/JaninoScript.java
# src/main/java/noppes/npcs/scripted/item/ScriptCustomItem.java
2026-01-14 00:28:11 +02:00
bigguy345
1df05406c8
Imported temp place holders from syntax-highlighter-unified
2026-01-13 19:08:29 +02:00
Kam
71dba15270
Add Script Context and better parsing for d.ts handling
2026-01-13 19:02:52 +02:00
Kam
78f7fa65f1
Add Script Context and better parsing for d.ts handling
2026-01-09 22:59:13 -05:00
bigguy345
4726c23ba1
Got refactoring func param name working for JSDoc param name
2026-01-06 02:26:27 +02:00
bigguy345
5720b3a081
Added @type JSDOC stub auto generation for fields
2026-01-05 05:42:12 +02:00
bigguy345
35ca7ca479
Completely functional JSDoc parsing/stub auto generation for functions and field types, parameters and their return types, and function return types
2026-01-05 05:07:50 +02:00
bigguy345
f8802114b5
Fixed indexOutOfbounds crash
2026-01-04 23:33:56 +02:00
bigguy345
ac92210771
Implemented AUTO IMPORT SUGGESTION COMPLETIONS
2026-01-04 03:59:51 +02:00
bigguy345
ff7fbd411d
Smart tab completion: replace till next separator
2026-01-04 02:39:27 +02:00
bigguy345
9886dae519
Moved fullScreenButton rendering into GuiScriptTextArea
2026-01-04 02:13:33 +02:00
bigguy345
ef51f4acd8
Fixed buttons drawn under AutoComplete drop down being clickable through it
2026-01-04 01:56:13 +02:00
bigguy345
b42cd4d1a3
Dismissed AutoCompleteManager on gui init/window resize
2026-01-04 01:02:47 +02:00
bigguy345
117f85096f
Added mouse drag to autocomplete scroll bar
2026-01-04 00:40:46 +02:00
bigguy345
85d79dd786
Disabled script area textbox typing when a matching keycode KeyPreset is down
2026-01-03 14:49:05 +02:00
bigguy345
2361246f0b
LMAO Autocompletion Bar LMFAO
2026-01-03 14:23:35 +02:00
bigguy345
79d1b74a0f
JS PARSER MK.I
2026-01-03 05:06:41 +02:00
bigguy345
0caebb08ca
Vastly improved GutterIconRenderer
2025-12-31 19:19:06 +02:00
bigguy345
71b4a6fdc4
Huge ScriptType extends/implements back-end
2025-12-31 18:53:28 +02:00
bigguy345
8089a5eef0
Fully migrated to drawStringHex for Script Editor line rendering
2025-12-31 02:36:10 +02:00
bigguy345
c2e0bbedae
Small package refactor
2025-12-28 20:33:39 +02:00
bigguy345
50d14d757c
/** javadoc stub auto-generation
2025-12-27 15:17:29 +02:00
bigguy345
25800e9c3d
Fixed token position calculation under mouse being inconsistent under single character tokens "y"
2025-12-26 21:28:48 +02:00
bigguy345
2c645beddf
Improved hover state hover logic
2025-12-26 18:15:13 +02:00
bigguy345
a4692388a8
Improved fetching token under mouse logic
2025-12-26 18:12:02 +02:00
bigguy345
351e663212
Improved TokenHoverRenderer
2025-12-26 17:29:36 +02:00
bigguy345
741608a353
Click to pin HoverState option
2025-12-26 17:28:28 +02:00
bigguy345
72686b8f86
First implementation of TokenHoverInfo
2025-12-26 01:24:40 +02:00