Delay in applying colors
Currently when I type into a Spoofax editor, the new characters always start out black, even inside comments and strings. After a short time the colorer catches up and applies the correct color. I think it looks “low quality”.
I imagine this is probably quite tricky to fix “properly” since the highlighting depends on the results of the parse, and the parser isn’t fast enough we’d want to wait for it before displaying typed characters.
Mainly I run into this when I am editing comments - the text is black and then turns green. I would be nice if it recognized that I was still inside the comment and applied the same green color to the newly typed characters.
This happens both in my own generated editor and when working on sdf files.
Submitted by Dobes Vandermeer on 15 October 2012 at 19:46
Issue Log
Spoofax/94 discusses a possible solution for this.
Log in to post comments