ComputerCraft

ComputerCraft

21M Downloads

[1.76pr2-3] Edit script: Incorrect text colouration

BombBloke opened this issue ยท 3 comments

commented

Strings (and the quotes around them) should be rendered in red, but empty strings may confuse the parser as pictured.

2015-12-12_12 21 38

commented

Happens with zero length strings (because of [^]) and with multiline strings using [[

string color

commented

hah, exactly like the Python syntax highlighting in nano :D

commented

Empty quotes fixed for pr4. Multiline quotes unlikely to be fixed due to the complexity it would add to the edit program.