Skip to content

SLua editor: multi-line strings and comments #3807

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Mar 31, 2025

Conversation

marchcat
Copy link
Contributor

No description provided.

@marchcat marchcat added this to the SLua Editor milestone Mar 25, 2025
@marchcat marchcat linked an issue Mar 25, 2025 that may be closed by this pull request
@marchcat marchcat changed the title SLua editor: WIP SLua editor: multi-line strings and comments Mar 31, 2025
@marchcat marchcat marked this pull request as ready for review March 31, 2025 15:03
@@ -104,47 +104,42 @@
<key>boolean</key>
<map>
<key>tooltip</key>
<string>Lua boolean: represents a true or false value.</string>
<string>Boolean: represents a true or false value.</string>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should lua tooltips really be in app_settings? We need them to be localizable.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have a default LSL keywords file in the same location, so this is correct.
For LSL, we also receive one from the server, but that isn't supported for SLua yet.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Default keyword for LSL updates from server, I'm not sure it's something that should be replicated for Lua.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's planned to be implemented later. For now we just use a placeholder class LLSyntaxLua.

@marchcat marchcat merged commit 57dfeaf into project/lua_editor Mar 31, 2025
11 checks passed
@marchcat marchcat deleted the marchcat/lua_editor branch March 31, 2025 15:38
@github-actions github-actions bot locked and limited conversation to collaborators Mar 31, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SLua editor: "uuid" is not highlighted, but "key" is SLua editor: Support highlighting Moonwave style multi-line comments (as comments)
3 participants