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

Convert indentation tabs to spaces #46

Open
tmhglnd opened this issue Jul 20, 2020 · 0 comments
Open

Convert indentation tabs to spaces #46

tmhglnd opened this issue Jul 20, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@tmhglnd
Copy link
Owner

tmhglnd commented Jul 20, 2020

When loading a textfile with tabs used for indentation the indents are not converted to spaces correctly and there introduce an error in the result of the code on screen:

new synth sine name(s)
	set s note(notes 1) time(1/16) shape(1 300)
^^^^ tab of 4 spaces wide 

results in:

new synth sine name(s)
set s note(notes 1) time(1/16) shape(1 300) 

should result in:

new synth sine name(s)
    set s note(notes 1) time(1/16) shape(1 300)
^^^^ tab of 4 spaces wide
@tmhglnd tmhglnd added the bug Something isn't working label Jul 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant