[TextMate] Ruby syntax coloring glitch
Jeroen
jeroen at je-ju.net
Thu Oct 14 10:00:30 UTC 2004
Ollivier Robert wrote:
> I just noticed that the coloration for "def" is a bit overeager, see
> attached snapshot. Look for "def_port".
This is not just def in Ruby. It's all highlighting based on keywords.
Keywords preceeded by characters works okay, but keywords followed by
anything is still highlighted (if there is no other highlighting active).
IMO keywords should only be highlighted if they are not followed by
alphanumeric characters or '_'.
Jeroen.
More information about the textmate
mailing list