Skip to content

Commit

Permalink
comments now prevented from flowing into following text. limitation:M…
Browse files Browse the repository at this point in the history
…ultiline comments must start with space.
  • Loading branch information
steenhulthin committed Jan 22, 2013
1 parent bd41b4c commit 3323cc4
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 7 deletions.
1 change: 1 addition & 0 deletions commentWords.txt
@@ -0,0 +1 @@
<#--a <#--b <#--c <#--d <#--e <#--f <#--g <#--h <#--i <#--j <#--k <#--l <#--m <#--n <#--o <#--p <#--q <#--r <#--s <#--t <#--u <#--v <#--x <#--y <#--z <#--A <#--B <#--C <#--D <#--E <#--F <#--G <#--H <#--I <#--J <#--K <#--L <#--M <#--N <#--O <#--P <#--Q <#--R <#--S <#--T <#--U <#--V <#--X <#--Y <#--Z
29 changes: 26 additions & 3 deletions freemarker_test.ftl
@@ -1,3 +1,21 @@
<#-- comments -->

<#-- multi line
comments
adf -->

<#--multi line
comments
adf-->

<#-- multi line
comments
adf-->



no comments

<#--assign-->
<#assign seasons = ["winter", "spring", "summer", "autumn"]>
<#assign test = test + 1>
Expand Down Expand Up @@ -1095,6 +1113,11 @@ myobject?namespace

<#--true, false, gt, gte, lt, lte, as, in, using -->

<#-- test of
multi
line comment -->
<#-- test of multi
line
comment -->


<!-- alktg
alkdfj
aljk -->
8 changes: 4 additions & 4 deletions freemarker_udl1.xml
Expand Up @@ -3,14 +3,14 @@
<Settings>
<Global caseIgnored="no" />
<TreatAsSymbol comment="no" commentLine="yes" />
<Prefix words1="no" words2="yes" words3="yes" words4="no" />
<Prefix words1="no" words2="no" words3="yes" words4="no" />
</Settings>
<KeywordLists>
<Keywords name="Delimiters">000000</Keywords>
<Keywords name="Folder+"></Keywords>
<Keywords name="Folder-"></Keywords>
<Keywords name="Operators">?</Keywords>
<Keywords name="Comment">1&lt;!-- 1 2 2--&gt; 0&lt;!--</Keywords>
<Keywords name="Comment"> 1&lt;#-- 1 2--&gt; 0&lt;#--a 0&lt;#--b 0&lt;#--c 0&lt;#--d 0&lt;#--e 0&lt;#--f 0&lt;#--g 0&lt;#--h 0&lt;#--i 0&lt;#--j 0&lt;#--k 0&lt;#--l 0&lt;#--m 0&lt;#--n 0&lt;#--o 0&lt;#--p 0&lt;#--q 0&lt;#--r 0&lt;#--s 0&lt;#--t 0&lt;#--u 0&lt;#--v 0&lt;#--x 0&lt;#--y 0&lt;#--z 0&lt;#--A 0&lt;#--B 0&lt;#--C 0&lt;#--D 0&lt;#--E 0&lt;#--F 0&lt;#--G 0&lt;#--H 0&lt;#--I 0&lt;#--J 0&lt;#--K 0&lt;#--L 0&lt;#--M 0&lt;#--N 0&lt;#--O 0&lt;#--P 0&lt;#--Q 0&lt;#--R 0&lt;#--S 0&lt;#--T 0&lt;#--U 0&lt;#--V 0&lt;#--X 0&lt;#--Y 0&lt;#--Z</Keywords>
<Keywords name="Words1"></Keywords>
<Keywords name="Words2">ancestors byte c cap_first capitalize ceiling children chop_linebreak chunk contains date datetime double ends_with eval first floor groups float has_content html index_of int interpret is_ iso iso_ j_string js_string keys last last_index_of left_pad length long lower_case matches namespace new node_namespace node_name node_type number number_to_date number_to_datetime number_to_time parent replace reverse right_pad round root rtf short size sort seq_contains seq_index_of seq_last_index_of sort_by split starts_with string substring time trim uncap_first upper_case url values word_list xhtml xml</Keywords>
<Keywords name="Words3"></Keywords>
Expand All @@ -24,8 +24,8 @@
<WordsStyle name="KEYWORD2" styleID="6" fgColor="FF00FF" bgColor="FFFFFF" fontName="" fontStyle="2" />
<WordsStyle name="KEYWORD3" styleID="7" fgColor="8000FF" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="KEYWORD4" styleID="8" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="COMMENT" styleID="1" fgColor="008080" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="COMMENT LINE" styleID="2" fgColor="008080" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="COMMENT" styleID="1" fgColor="00FF00" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="COMMENT LINE" styleID="2" fgColor="00FF00" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="NUMBER" styleID="4" fgColor="FF0000" bgColor="FFFFFF" fontName="" fontStyle="3" />
<WordsStyle name="OPERATOR" styleID="10" fgColor="FF00FF" bgColor="FFFFFF" fontName="" fontStyle="2" />
<WordsStyle name="DELIMINER1" styleID="14" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
Expand Down

0 comments on commit 3323cc4

Please sign in to comment.