[prev in list] [next in list] [prev in thread] [next in thread] 

List:       quanta
Subject:    Re: [Quanta] Syntax Highlighting
From:       Andras Mantia <amantia () kde ! org>
Date:       2005-05-14 7:12:36
Message-ID: 200505141012.41391.amantia () kde ! org
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Saturday 14 May 2005 08:16, Brian Gustin wrote:
> Hi. Im using Quanta plus 3.4 on my FC3 box nder Gnome desktop.. Ive
> been looking everywhere for a way to customize syntax highlighting
> for smarty templates (basically html/css with special keywords and
> I'd like for all files with the extension .tpl to take syntax
> highlighting of HTML and able to customize keywords highlighting ..
> can anyone point me in the right direction to do this??

The syntax highlighting files are in 
$KDEDIR/share/apps/katepart/syntax .
To configure which extension use for some specific files use 
Settings->Configure Editor->Highlighting and for the Markup/HTML 
highlight add the text/x-tpl mimetype: text/html;text/x-tpl (or use the 
wizard button to pick up the tpl mimetype) or add the extension there 
in the File Extensions field.

BTW, this is in the FAQ on quanta.kdewebdev.org (item #8), altough for a 
different problem but for .tpl files. ;-)

Andras

-- 
Quanta Plus developer - http://quanta.kdewebdev.org
K Desktop Environment - http://www.kde.org

[Attachment #5 (application/pgp-signature)]

_______________________________________________
Quanta mailing list
Quanta@mail.kde.org
https://mail.kde.org/mailman/listinfo/quanta


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic