JunoLab / atom-ink

IDE toolkit for Atom
MIT License
228 stars 40 forks source link

Ink doesn't change color of f\prime<tab>(x) when in unicode #42

Closed ssingleton closed 8 years ago

ssingleton commented 8 years ago

I found a surprising, and otherwise insignificant, inconsistency:

image

The f\prime(x) does not change colors despite other unicode functions doing so. This holds when the prime is applied to other letters, include other unicode such as \alpha.

Perhaps there is a reason for this? Given most of my work is differential equations and first order conditions, it would be easier to read my code if f\prime(x) did display as other functions do.

MikeInnes commented 8 years ago

cc @spencerlyon2, I think this is an issue with atom-language-julia. I guess the prime symbol doesn't come in under the unicode alpha category used by the grammar's regexes, but I'm not sure what it does come under.

sglyon commented 8 years ago

Yes definitely a problem for over there instead of ink.

I'm not sure why \prime doesn't fall in that category and other unicode like \epsilon\tilde and \eta\_0 do.

ssingleton commented 8 years ago

Thank you for taking this to atom-language-julia, Spencer. and, thank you for your quick replies, both of you!