Closed Krisselchen closed 10 years ago
I typed this rail program:
$
\
\---------\
|
\-----/
Then I added a character:
$
\
\---------\
| |
\-----/
... and another one:
$
\
\---/-----\
| |
\-----/
Now move with the cursor using the arrow keys: response time is awful and syntax highlighting can't decide which characters to highlight red and which ones black.
Yes it is horribly slow because I added the easy fix. The more performant version needs way more insight in the highlighter than I have. Basically you have to mark which fields you highlighted from what direction.
If this is a known problem and there is not enough time to fix it, you can close the ticket again
I think it is not enough time for me, I'm unsure about Christoph, though.
Fixed by @MrM0nkey .
This so called fix suffers the same problem my first approach had: If you create a simple junction (*+x) or elsewhere go through already highlighted code it will stop highlighting the code on the other side.
If Rail-Programm becomes an endless loop syntax highlighting is starting an endless loop too.->Editor crash @mynery is also looking at this