diff options
| author | Darl <me@darl.cat> | 2025-12-31 09:22:35 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-12-31 17:22:35 +0200 |
| commit | 732b96958f0677674ca2756ce6a692f54bfd6a28 (patch) | |
| tree | 3e954fc3fe759ba0f066006f6151b33fc4a89b1b /scripts/code_tools | |
| parent | f27b86c8fac5c1a9db93cd05aaf7480162006951 (diff) | |
Update LLScriptEditor and friends to index line numbers from 1 when editing in Lua (#5190)
* Update LLScriptEditor to index line numbers from 1 when editing in Lua
This is to match server-generated runtime errors that reference lines.
Signed-off-by: Darl <me@darl.cat>
* Update LLFloaterGotoLine and LLPreviewScript to support Lua's line/col expectations
Existing behavior for LSL is preserved
Fixes a bug in previous commit that causes the line number shown near the bottom of the script edit floater to be off by 1 when displaying a Lua script.
Signed-off-by: Darl <me@darl.cat>
* Update script editor error console goto error to reflect Lua line nums
Signed-off-by: Darl <me@darl.cat>
---------
Signed-off-by: Darl <me@darl.cat>
Diffstat (limited to 'scripts/code_tools')
0 files changed, 0 insertions, 0 deletions
