[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
separated.

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:

  <http://savannah.gnu.org/patch/?func=detailitem&item_id=4970>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




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