[patch #4970] add label highlighting to c.syntax

Follow-up Comment #6, patch #4970 (project mc):

Sorry Oswald, but i have to say: actually, the highlighting code sucks ;-)

Ok. if we change the rule to:
  keyword whole \{A...z\}\[0...z\]: cyan
it highlights the case labels and ( ... ? a: b) if 'a' and the colon does not

I do not know, why match the 'label' rule first, even the 'default:' rule is
earlier in the syntax file..? If I could remember, some time ago... the order
of rules cares... or does not?


Reply to this item at:


  Message sent via/by Savannah

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]