From quanta Sat May 14 07:12:36 2005 From: Andras Mantia Date: Sat, 14 May 2005 07:12:36 +0000 To: quanta Subject: Re: [Quanta] Syntax Highlighting Message-Id: <200505141012.41391.amantia () kde ! org> X-MARC-Message: https://marc.info/?l=quanta&m=111605474013271 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============1381500328==" --===============1381500328== Content-Type: multipart/signed; boundary="nextPart3143595.g1SfoVRcax"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit --nextPart3143595.g1SfoVRcax Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 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=20 $KDEDIR/share/apps/katepart/syntax . To configure which extension use for some specific files use=20 Settings->Configure Editor->Highlighting and for the Markup/HTML=20 highlight add the text/x-tpl mimetype: text/html;text/x-tpl (or use the=20 wizard button to pick up the tpl mimetype) or add the extension there=20 in the File Extensions field. BTW, this is in the FAQ on quanta.kdewebdev.org (item #8), altough for a=20 different problem but for .tpl files. ;-) Andras =2D-=20 Quanta Plus developer - http://quanta.kdewebdev.org K Desktop Environment - http://www.kde.org --nextPart3143595.g1SfoVRcax Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) iD8DBQBChaTpTQdfac6L/08RAi3yAKCc2KjCPMnl247A3w8Up5lH5F9IxQCglBKN xkeqo77hRGr7HSizI0ugoDo= =eNUK -----END PGP SIGNATURE----- --nextPart3143595.g1SfoVRcax-- --===============1381500328== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Quanta mailing list Quanta@mail.kde.org https://mail.kde.org/mailman/listinfo/quanta --===============1381500328==--