livecodelab icon indicating copy to clipboard operation
livecodelab copied to clipboard

Syntax highlighting of trailing comments backtrack to first slash of line

Open juliendorra opened this issue 6 years ago • 2 comments

Adding a trailing comment to a line with slashes, the purple color for comments backtrack and now start from the first slash in the line, instead of the double slash that start the comment.

(trailing comments are useful and can be better for readability if well used)

See captures below:

capture d ecran 2017-10-03 a 17 21 38

capture d ecran 2017-10-03 a 17 21 28

juliendorra avatar Oct 03 '17 18:10 juliendorra

yup, it's something we've been aware of for a while, but just never gotten around to fixing. I'll try to have a dig into it this weekend. syntax highlighting could maybe do with some improvements again.

@juliendorra would be interesting to hear any feedback you have based on the workshops you've run recently

rumblesan avatar Oct 05 '17 13:10 rumblesan

This now seems to be sorted in the most recent cut of LCL which will ideally get released soon. will close this when it's live. currently available at http://livecodelab.net/play2.5v3/

rumblesan avatar Sep 12 '18 08:09 rumblesan