Skip to content
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

Lua code editors indentation #7890

Merged
merged 2 commits into from
Dec 2, 2024
Merged

Conversation

blancoberg
Copy link
Contributor

Some updates to the code editor.

Added the following:

  • Its now possible to indent lines even if they are empty.
  • tab does not indent the entire line anymore, instead it adds a tab ( spaces) at the caret position
  • String declarations auto closes.
  • Auto indentation for function, while, if statements.
  • On enter/return the new line will keep the indentation from the previous line
  • Some preparation for a possible search function

Added the following:
* Its not possible to indent lines even if they are empty.
* tab does not indent the entire line anymore, instead it adds a tab at the caret position
* String declarion auto closes
* Auto indentation for function, while, if statements.
* On enter/return the new line will keep the indentation from the previous line
Added both types of string declaration.
"" and ''
@mkruselj mkruselj changed the title code editor indentation Lua code editors indentation Dec 2, 2024
@mkruselj mkruselj merged commit ab8acad into surge-synthesizer:main Dec 2, 2024
13 checks passed
@baconpaul
Copy link
Collaborator

Oh @mkruselj we should not have merged this. As well as adding features it removes all my fixes from yesterday afternoon

let me clean it up

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants