solettaproject/soletta-dev-app

highlight syntax: uppercase var name is blue

Closed this issue · 4 comments

The R from RotaryAngleSensor shouldn't be blue, only the nodetypes and the ports

screenshot from 2016-03-17 14 26 23

actually, RotaryangleSensor is a type name, so it all should be in blue :-)

Same for LCDString, not just LCD, but the whole LCDString

to me looks like an incorrect regexp, likely it should be:

[(]([^:)]+)[:)]

That is: after the parenthesis [(] you create a group of more than one character that are not )or :, that is ([^:)]+), then ends with ) or : as terminators

Yes! Makes sense.

I will test this regexp thanks

Fix proposed: #68

Thanks the regexp worked really well 👍

Fixed with patch -> #69