Smarty Syntax Highlighting File?

2011-08-05 Thread Keith Roberts
. I cannot see a syntax hightlighting file for Smarty code in the mc syntax directory. Has this been done yet? If not, how can I write my own Smarty syntax highlighting file please? Kind Regards, Keith Roberts - Websites: http

Re: Smarty Syntax Highlighting File?

2011-08-05 Thread Keith Roberts
On Fri, 5 Aug 2011, Keith Roberts wrote: *snip* If I delete the /usr/share/mc/syntax/php.syntax file, then edit a php file, I get the following error: Load syntax file Error in file /root/.mc/cedit/Syntax on line 89 But when I use mc to look for that Syntax file it's not there ?? Now

Re: Smarty Syntax Highlighting File?

2011-08-05 Thread Keith Roberts
On Fri, 5 Aug 2011, Keith Roberts wrote: *snip* So where is the location of the mystery default /root/.mc/cedit/Syntax file ?? OK - found it now. The Syntax file is actually under: [root@karsites ~]# rpm -ql mc /etc/mc /etc/mc/cedit.menu /etc/mc/edit.indent.rc /etc/mc/edit.spell.rc