X Tutup
Skip to content

editor command for comment/uncomment for multiple lines #1192

@ghost

Description

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      X Tutup