found: how to add another extension to a syntax file??

Ask how to do things or if a certain feature is available in the program.
Post Reply
User avatar
DerellLicht1
Posts: 144
Joined: 23 Jul 2021 17:38
Location: Fremont, CA, USA

found: how to add another extension to a syntax file??

Post by DerellLicht1 »

I want to associate .cxx extension with cpp highlighter...

Nevermind, I found it... edit _list.ver to include the extension under the relevant highlighter,
restart TextEd, say "yes" when asked if they should use the highlighter... done!!
User avatar
pjj
Posts: 2130
Joined: 13 Oct 2009 13:48
Location: Kraków, Poland

Re: found: how to add another extension to a syntax file??

Post by pjj »

Okaaay... And why is it preferable to Environment > Add-ons > Highlighters > %lang% > File extensions > [ Add ] ? :?
Alium tibi quaere fratrem; hic, quem tuum putas, meus est. Titus Flāvius Caesar Vespasiānus Augustus
User avatar
DerellLicht1
Posts: 144
Joined: 23 Jul 2021 17:38
Location: Fremont, CA, USA

Re: found: how to add another extension to a syntax file??

Post by DerellLicht1 »

pjj wrote: 27 Jun 2023 07:09 Okaaay... And why is it preferable to Environment > Add-ons > Highlighters > %lang% > File extensions > [ Add ] ? :?
heh... because I couldn't find that option!!
That was actually what I was looking for when I initially posted this,
but then I went looking around the config files and found a hack that worked...
But definitely your option is preferable!!
Thank ye!

I'll add this note to my rjtexted.tips.txt file for future reference...
Post Reply