CC-Tweaked icon indicating copy to clipboard operation
CC-Tweaked copied to clipboard

Goto statements (and line markers): `edit` highlighting

Open fatboychummy opened this issue 1 year ago • 2 comments

This is purely visual, but it may be good to highlight goto statements (and potentially markers) in the builtin editor to make them stand out a bit more, as currently they just look like generic text.

image

fatboychummy avatar Dec 08 '23 04:12 fatboychummy

This is a bit of an awkward one, as we probably don't want to syntax highlight goto when used as an identifier (e.g. local goto or goto()). We could probably do this with some basic lookahead, though the current syntax highlighter isn't exactly built for that.

Maybe possible to do at the same time as #1396.

SquidDev avatar Dec 08 '23 09:12 SquidDev

At same time aren't identifiers goto just backward compatibility thing? Does it really warrant adding extra special handling for them?

Wojbie avatar Dec 08 '23 14:12 Wojbie