|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
hellotheworld Smarty n00b
Joined: 05 Aug 2011 Posts: 1
|
|
Back to top |
|
MrVon Smarty Rookie
Joined: 08 Jul 2011 Posts: 15
|
Posted: Fri Jan 06, 2012 12:14 am Post subject: |
|
|
Dont forget about archive dot org
copy full line in browser: http://wayback.archive.org/web/*/http://www.barrhauss.com/storage/smarty/userDefineLang.xml
But dont try if you have v5.9 it does not work and make program crash. |
|
Back to top |
|
bluelueboy Smarty Rookie
Joined: 21 Jan 2009 Posts: 5
|
|
Back to top |
|
acantonyclark1 Smarty n00b
Joined: 16 Mar 2012 Posts: 1
|
Posted: Fri Mar 16, 2012 7:04 am Post subject: |
|
|
thanks for the smarty suggestion. I used userDefineLang.xml file in notepad plus plus. It worked. |
|
Back to top |
|
theillo Smarty n00b
Joined: 11 Jan 2015 Posts: 1
|
Posted: Sun Jan 11, 2015 3:23 am Post subject: |
|
|
Hey hey! I know this is old, but...
I downloaded the xml, replaced it with admin rights in both the notpad dir under programs, as well as under app data.
I use the Hot Fudge Sunday theme, but when I switch to "user defined" language, it all turns black (black font on black background). When I switch to the default theme I have black on white. Not very helpful.
Using Windows 7 and Notepad++ V6.6.9
Any ideas why it's not properly highlighting anything?
Thanks for any help! |
|
Back to top |
|
Aristophan Smarty Regular
Joined: 10 Jan 2011 Posts: 96
|
Posted: Sun Jan 18, 2015 12:34 pm Post subject: |
|
|
The Smarty comment rule is
Code: | <Keywords name="Comment">1 1* 2*
 0</Keywords> |
which works fine all over - but if you have to use multiplication, eg it highlights the following as a comment. To avoid this you can use just after, but this is not nice too.
So, does anyone have a brilliant idea on how to change the upper comment syntax rule to respect or not work on math multiplications? |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|