velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wido Hillmann <wido.hillm...@epost.de>
Subject Re: newbie: Velocity Ultraedit wordfile sought
Date Fri, 06 Jul 2001 10:32:33 GMT
Sorry, I forgot to tell because I used the html part as template

If you use velocity mainly to generate html pages it might be useful to replace:

Block Comment On Alt = <% Block Comment Off Alt =%>
with:
Block Comment On Alt = <!-- Block Comment Off Alt =-->

Asteris Masouras wrote:

> ----- Original Message -----
> From: "Wido Hillmann" <wido.hillmann@epost.de>
> To: <velocity-user@jakarta.apache.org>
> Sent: Thursday, July 05, 2001 8:20 PM
> Subject: Re: newbie: Velocity Ultraedit wordfile sought
>
> > To highlight the velocity vars, I added also the following lines to my
> > wordfile.txt:
> >
> > /C4"Methods"
> > ** $
> You have to remove $ from the delimiter group though, for this to work (a
> friend's suggestion)..
> So then, Herve's script, modified, looks kinda like this (everything until
> /Delimiters is in a single long line):
>
> /L9"Velocity" Nocase Noquote HTML_LANG Line Comment = ## Block Comment On =
> #* Block Comment Off = *#  Block Comment On Alt = <% Block Comment Off Alt
> =%> String Chars = "' File Extensions = VM vm
> /Delimiters = ~!@%^&*()+=|\{}[]:;"'<> , .?
> /Function String = "name=*">"
> /C1"KeyWords"
> #set #foreach #end #if #else #elseif #parse #macro #stop #include
> /C2"Tags"
> <A </A> <ABBR> <ABBR </ABBR> <ABOVE> <ACRONYM> <ACRONYM
</ACRONYM> <ADDRESS>
> <ADDRESS </ADDRESS> <APPLET </APPLET> <ARRAY> <AREA </AREA
> <B> <B </B> <BASE <BASEFONT <BDO> <BDO </BDO> <BGSOUND
<BIG> <BIG </BIG>
> <BLINK> </BLINK> <BLOCKQUOTE> <BLOCKQUOTE </BLOCKQUOTE> <BODY
<BODY> </BODY>
> <BOX> <BR <BR> <BIG <BLINK <BUTTON> </BUTTON>
> <CAPTION> <CAPTION </CAPTION> <CENTER> <CENTER </CENTER>
<CITE> <CITE
> </CITE> <CODE> <CODE </CODE> <COL> <COLGROUP> </COLGROUP>
<COMMENT>
> </COMMENT>
> <DD> <DD </DD> <DEL> <DEL </DEL> <DFN> <DFN </DFN>
<DIR> <DIR </DIR> <DIV>
> <DIV </DIV> <DL> <DL </DL> <DT> <DT  </DT>
> <EM> <EM </EM> <EMBED
> <FIELDSET> <FIELDSET </FIELDSET> <FIG> <FONT </FONT> <FORM>
<FORM </FORM>
> <FRAME <FRAMESET </FRAMESET>
> <H1> <H1 </H1> <H2> <H2 </H2> <H3> <H3 </H3>
<H4> <H4 </H4> <H5> <H5 </H5>
> <H6> <H6 </H6> <HEAD> <HEAD </HEAD> <HR> <HR <HTML>
<HTML </HTML>
> <I> <I </I> <IFRAME> </IFRAME> <ILAYER> </ILAYER>
<IMG <INPUT> <INPUT <INS>
> <INS </INS> <ISINDEX> <ISINDEX
> <KBD> <KBD </KBD>
> <LABEL> <LABEL </LABEL> <LAYER> <LAYER </LAYER> <LEGEND>
<LEGEND </LEGEND>
> <LI> <LI </LI> <LINK <LISTING> </LISTING>
> <MAP </MAP> <MARQUEE </MARQUEE> <MENU> <MENU </MENU>
<META <MULTICOL>
> </MULTICOL>
> <NEXTID <NOBR> </NOBR> <NOFRAMES> </NOFRAMES> <NOLAYER>
</NOLAYER> <NOTE>
> </NOTE> <NOSCRIPT> </NOSCRIPT>
> <OBJECT> <OBJECT <OL> <OL </OL> <OPTION> <OPTION </OPTION>
<OPTGROUP>
> <OPTGROUP </OPTGROUP>
> <P <P> </P> <PARAM <PRE> <PRE </PRE>
> <Q> <Q </Q> <QUOTE>
> <RANGE> <ROOT>
> <S> <S </S> <SAMP> <SAMP </SAMP> <SCRIPT <SCRIPT>
</SCRIPT> <SELECT
> </SELECT> <SMALL> <SMALL </SMALL> <SOUND <SPACER> <SPAN>
<SPAN </SPAN>
> <SQRT> <STRIKE> <STRIKE </STRIKE> <STRONG> <STRONG </STRONG>
<STYLE> <STYLE
> </STYLE> <SUB> <SUB </SUB> <SUP> <SUP </SUP>
> <TABLE> <TABLE </TABLE> <TBODY> <TBODY </TBODY> <TD
<TD> </TD> <TEXT>
> <TEXTAREA <TEXTAREA> </TEXTAREA> <TFOOT> <TFOOT </TFOOT>
<TH <TH> </TH>
> <THEAD> <THEAD </THEAD> <TITLE> </TITLE> <TR <TR>
</TR> <TT> </TT> <TT
> <U> <U </U> <UL> <UL </UL>
> <VAR> </VAR> <VAR
> <WBR>
> <XMP> </XMP>
> /C3"Attributes"
> ABBR= ACCEPT-CHARSET= ACCEPT= ACCESSKEY= ACTION= ALIGN= ALINK= ALT= ARCHIVE=
> AXIS=
> BACKGROUND= BEHAVIOR BELOW BGCOLOR= BORDER=
> CELLPADDING= CELLSPACING= CHAR= CHAROFF= CHARSET= CHECKED CITE= CLASS=
> CLASSID= CLEAR= CODE= CODEBASE= CODETYPE= COLOR= COLS= COLSPAN= COMPACT
> CONTENT= COORDS=
> DATA= DATETIME= DECLARE DEFER DIR= DISABLED
> ENCTYPE=
> FACE= FOR= FRAME= FRAMEBORDER= FRAMESPACING=
> HEADERS= HEIGHT= HIDDEN= HREF= HREFLANG= HSPACE= HTTP-EQUIV=
> ID= ISMAP=
> LABEL= LANG= LANGUAGE= LINK= LOOP= LONGDESC=
> MAILTO= MARGINHEIGHT= MARGINWIDTH= MAXLENGTH= MEDIA= METHOD= MULTIPLE
> NAME= NOHREF NORESIZE NOSHADE
> OBJECT= ONBLUR= ONCHANGE= ONFOCUS= ONKEYDOWN= ONKEYPRESS= ONKEYUP= ONLOAD=
> ONRESET= ONSELECT= ONSUBMIT= ONUNLOAD= ONCLICK= ONDBLCLICK= ONMOUSEDOWN=
> ONMOUSEMOVE= ONMOUSEOUT= ONMOUSEOVER= ONMOUSEUP=
> PROFILE= PROMPT=
> READONLY REL= REV= ROWS= ROWSPAN= RULES=
> SCHEME= SCOPE= SCROLLING= SELECTED SHAPE= SIZE= SPAN= SRC= STANDBY= START=
> STYLE= SUMMARY=
> TABINDEX= TARGET= TEXT= TITLE= TOPMARGIN= TYPE=
> URL= USEMAP=
> VALIGN= VALUE= VALUETYPE= VERSION= VLINK= VSPACE=
> WIDTH=
> =
> /C4"Methods"
> ** $
>
> ----------
> Asteris


Mime
View raw message