hinrik / perl6-mode

Emacs major mode for Perl 6
GNU General Public License v3.0
36 stars 4 forks source link

Unicode quotes break highlighting #16

Open AlexDaniel opened 7 years ago

AlexDaniel commented 7 years ago

Take this code:

say ‘hello’;
say ‘hello’;
say ‘hello’;
say ‘hello’;
say ‘hello’;

And start pasting it rapidly.

After doing it several times you will see this: screenshot

If you delete and type again one of the closing quotes above the unhighlighted area it will reparse the rest of the file correctly.

This problem may be related to this (or it may be a separate bug): screenshot

↑ On this screenshot last character is not highlighted as a string unless you write a closing quote.