Smarty Syntax Definition for Kate, KWrite, Katepart
| From: | Werner | Date: | Thu, 10 Feb 2005 10:32:51 +0000 |
| Subject: | Smarty Syntax Definition for Kate, KWrite, Katepart | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-12232@lists.php.net to get a copy of this message | ||
Hi!
Please find attached my Smarty Syntax Definition.
A few notes:
1) Improvements are *very* welcome. This is my first syntax definition (born out of necessity), I hope it helps someone out there (at least I've been using it a lot).
2) It includes the HTML Syntax Definition (v1.93 tested) with <IncludeRules context="##HTML" />
3) Known bug: Smarty Code is not recognized inside HTML 'Values', due to the amateur-like way which I included the HTML definition.
Not-recognized example:
<select name="{$myVar}">
If anyone knows how to solve this I would be very happy, just to escape the Smarty Code from within an HTML 'Value', without modifying the HTML Syntax Definition.
4) If anyone more experienced with Syntax Definitions would like to rewrite the whole thing based on the info of my file, please go ahead, but let me know, so I can use the improved version as well.
5) Keep me posted (feedback is welcome) if I missed something very basic in Smarty's syntax.
P.S. Please pardon my poor English :-)