Closed GoogleCodeExporter closed 9 years ago
This should be a part of the language core itself. Turn spaces (i.e. token
delimiters) into 128 + color index characters. This way we turn the following
string into a syntax-marked string:
variable = sample_function(3, "Hello, World!", derp)
variable[black]=[gray]([black]3[black],"Hello, World!"[black] etc...
Where [black] is the byte 128 + the color offset:
128 = [black]
129 = [pink]
130 = [green]
131 = [red]
etc..
Note: this function should only take linear time
Original comment by nin...@gmail.com
on 10 Feb 2012 at 11:31
Done
Original comment by nin...@gmail.com
on 11 Feb 2012 at 10:56
Original issue reported on code.google.com by
nin...@gmail.com
on 4 Feb 2012 at 9:06