MadcapJake / language-perl6fe

»ö« Atom Perl 6 Support - Forgotten Edition »ö«
https://github.com/perl6/atom-language-perl6
Other
16 stars 3 forks source link

Broken highlights in term names where 1 char follows apostrophe/hyphen #7

Closed zoffixznet closed 8 years ago

zoffixznet commented 8 years ago

Hey,

See screenshot below. Seems to only happen when just a single char follows the approstrophe: bug3

zoffixznet commented 8 years ago

Found a new more examples actually: bug5 bug4

MadcapJake commented 8 years ago

that second one is weird, but I specifically avoided allowing apostrophes until someone brought it up. So here it is! I'll give it a go then, wish me luck.

MadcapJake commented 8 years ago

oh actually the second one is because I required that you at least have two letters between each dash. I'll see if I can avoid this but it might clash with simple space-less minus operations

zoffixznet commented 8 years ago

If it clashes, then don't worry. I only noticed it while typing a term, and even if it shows up wrong, it's not the end of the world, because it's short.

MadcapJake commented 8 years ago

Solved all three cases and I think it shouldn't break anything else. Since sigils are always prefixing a variable, it makes it a bit easier on the highlighter to decipher when something is a space-less expression.

MadcapJake commented 8 years ago

Fixed in v1.2.4