Reputation
Top tag
Next privilege 200 Rep.
See reduced ads
Badges
3
Impact
~3k people reached

  • 0 posts edited
  • 0 helpful flags
  • 2 votes cast
Mar
31
awarded  Autobiographer
Mar
22
awarded  Supporter
May
15
comment How to add a new language definition for syntax highlighting in Gedit?
1) I think it makes sense the way it. If you have a <context ref="">, then it's a reference you should not give it an ID. If for some reason you need to, then have a <context id=""> with an <include>. 2) there's a difference between context and style. If you are doing <context ref="" style="">, it assumes the first is a reference for another <context>, while the second is a reference to something defined on <styles>. A final suggestion would be tun run the check-language.sh script that is in the directory with the lang files.
May
15
awarded  Teacher
May
15
answered How to add a new language definition for syntax highlighting in Gedit?