Hello Holger Herrlich, Am 2010-08-25 23:02:03, hacktest Du folgendes herunter:
If you want to use a syntax highlighting not made available yet, you have to add an entry at the file 'Syntax' -- so copy to ~/.mc/cedit and do it.
Thats not fully right, because If you create an "Syntax" in ~/.mc/cedit the global /usr/share/mc/syntax/Syntax is not more read... This is WHY I sayed, you have to copy the whole directory to your home. Or did I hit a forgotten bug under Woody, Sarge, Etch and Lenny?
Note that mc (or maybe mcedit) has to be restarted to take effect
Not right...
Open a C Source Tree in the left panel and select a *.c file and hit F4
you see the file in the Editor highlighted...
On the right panel and select the c.syntax and edit something, save and
close it.
Go back to the left panel and hit F4...
Now it hast the changed syntax without leafing "mc" :-)
Note: I am makeing SYNTAX files, VFS and menus since more then 8 years
Thanks, Greetings and nice Day/Evening
Michelle Konzack
--
##################### Debian GNU/Linux Consultant ######################
Development of Intranet and Embedded Systems with Debian GNU/Linux
itsystems tdnet France EURL itsystems tdnet UG (limited liability)
Owner Michelle Konzack Owner Michelle Konzack
Apt. 917 (homeoffice)
50, rue de Soultz Kinzigstraße 17
67100 Strasbourg/France 77694 Kehl/Germany
Tel: +33-6-61925193 mobil Tel: +49-177-9351947 mobil
Tel: +33-9-52705884 fix
<http://www.itsystems.tamay-dogan.net/> <http://www.flexray4linux.org/>
<http://www.debian.tamay-dogan.net/> <http://www.can4linux.org/>
Jabber linux4michelle jabber ccc de
ICQ #328449886
Linux-User #280138 with the Linux Counter, http://counter.li.org/
Attachment:
signature.pgp
Description: Digital signature