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

editor command for comment/uncomment for multiple lines #1192

Closed
ghost opened this issue Sep 28, 2020 · 1 comment · Fixed by #1363
Closed

editor command for comment/uncomment for multiple lines #1192

ghost opened this issue Sep 28, 2020 · 1 comment · Fixed by #1363
Labels
bug editor: code Issues related to code editor

Comments

@ghost
Copy link

ghost commented Sep 28, 2020

Hello, i tried to comment multiple lines of code by selecting text and pressing ctrl+/ but only last line is commented.
TIC version used 0.80.1344

Example: selecting all this text and pressing ctrl+/ does this:
if btn(0) then y=y-1 end
if btn(1) then y=y+1 end
if btn(2) then x=x-1 end
--if btn(3) then x=x+1 end

i suggest it does this instead:
--if btn(0) then y=y-1 end
--if btn(1) then y=y+1 end
--if btn(2) then x=x-1 end
--if btn(3) then x=x+1 end

Thanks for considering this issue.

@nesbox nesbox added bug editor: code Issues related to code editor labels Sep 28, 2020
@tstopak
Copy link
Contributor

tstopak commented Feb 27, 2021

Implemented in #1363

@nesbox nesbox linked a pull request Feb 28, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug editor: code Issues related to code editor
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants