[Zope] DTML editing

Lennart Regebro lennart@torped.se
Tue, 2 Apr 2002 12:02:15 +0200


This is a multi-part message in MIME format.

------=_NextPart_000_0024_01C1DA3E.3AC98F40
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

Strange. I used to have one, so I'm sure there used to be one somewhere.

Anyway, extending the html.syn file with the dtml-additions are rather
trivial.
I attached one (half-done) example.


----- Original Message -----
From: "Igor Leturia" <IGOR@emun.com>
To: <zope@zope.org>
Sent: Tuesday, April 02, 2002 11:32 AM
Subject: RE: [Zope] DTML editing


I have downloaded the trial version of TextPad. I see it has HTML syntax
coloring, but I can't find DTML, in the program or in their website.

Igor

>>  Is there a Zope product for editing DTML methods that has syntax
color
>>highlighting? If not, are there any other standalone editors that have
>>this feature (for windows)?
>
>Textpad has syntax coloring for almost everrthing (including DTML).
>And if you don't like it you can make your own. :-) It's not
>free, but it's cheap.
>

_______________________________________________
Zope maillist  -  Zope@zope.org
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )



------=_NextPart_000_0024_01C1DA3E.3AC98F40
Content-Type: application/octet-stream;
	name="dtml.syn"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename="dtml.syn"

; TextPad syntax definitions for HTML
; Copyright (C) 1998-2000, Helios Software Solutions

HTML=1

[Syntax]
Namespace1 = 2
IgnoreCase = Yes
KeyWordLength =
BracketChars =
OperatorChars =
PreprocStart =
HexPrefix = #
SyntaxStart = <
SyntaxEnd = >
CommentStart = !--
CommentEnd = -->
CommentStartAlt =
CommentEndAlt =
SingleComment =
SingleCommentCol =
SingleCommentAlt =
SingleCommentColAlt =
SingleCommentEsc =
StringsSpanLines = Yes
StringStart = "
StringEnd = "
StringAlt = '
StringEsc =
CharStart = &
CharEnd = ;
CharEsc =

;Duplicate primary and secondary keywords
; CODE
; FRAME
; LINK
; SPAN
; STYLE
; TITLE

[Keywords 1]
!DOCTYPE
A
ABBR
ACRONYM
ADDRESS
APPLET
AREA
B
BASE
BASEFONT
BDO
BGSOUND
BIG
BLINK
BLOCKQUOTE
BODY
BR
BUTTON
CAPTION
CENTER
CITE
CODE
COL
COLGROUP
DD
DEL
DFN
DIR
DIV
DL
DT
EM
EMBED
FIELDSET
FONT
FORM
FRAME
FRAMESET
H1
H2
H3
H4
H5
H6
HEAD
HR
HTML
I
IFRAME
ILAYER
IMG
INPUT
INS
ISINDEX
KBD
KEYGEN
LABEL
LAYER
LEGEND
LI
LINK
LISTING
MAP
MENU
META
MULTICOL
NOBR
NOEMBED
NOFRAMES
NOLAYER
NOSCRIPT
OBJECT
OL
OPTGROUP
OPTION
P
PARAM
PLAINTEXT
PRE
Q
S
SAMP
SCRIPT
SELECT
SERVER
SMALL
SOUND
SPACER
SPAN
STRIKE
STRONG
STYLE
SUB
SUP
TBODY
TEXTAREA
TITLE
TT
U
UL
VAR
WBR
XMP
DTML-VAR
DTML-IN
DTML-IF
DTML-ELSE
DTML-UNLESS

[Keywords 2]
TABLE
TD
TFOOT
TH
THEAD
TR

[Keywords 3]
ACCESSKEY
ACTION
ALIGN
ALINK
ALT
BACKGROUND
BALANCE
BEHAVIOR
BGCOLOR
BGPROPERTIES
BORDER
BORDERCOLOR
BORDERCOLORDARK
BORDERCOLORLIGHT
BOTTOMMARGIN
CELLPADDING
CELLSPACING
CHECKED
CLASS
CLASSID
CLEAR
CODE
CODEBASE
CODETYPE
COLOR
COLS
COLSPAN
COMPACT
CONTENT
CONTROLS
COORDS
DATA
DATAFLD
DATAFORMATAS
DATASRC
DIRECTION
DISABLED
DYNSRC
ENCTYPE
EVENT
FACE
FOR
FRAME
FRAMEBORDER
FRAMESPACING
HEIGHT
HIDDEN
HREF
HSPACE
HTTP-EQUIV
ID
ISMAP
LANG
LANGUAGE
LEFTMARGIN
LINK
LOOP
LOWSRC
MARGINHEIGHT
MARGINWIDTH
MAXLENGTH
MAYSCRIPT
METHOD
METHODS
MULTIPLE
NAME
NOHREF
NORESIZE
NOSHADE
NOWRAP
PALETTE
PLUGINSPAGE
PUBLIC
READONLY
REL
REV
RIGHTMARGIN
ROWS
ROWSPAN
RULES
SCROLL
SCROLLAMOUNT
SCROLLDELAY
SCROLLING
SELECTED
SHAPE
SIZE
SPAN
SRC
START
STYLE
TABINDEX
TARGET
TEXT
TITLE
TOPMARGIN
TRUESPEED
TYPE
URL
URN
USEMAP
VALIGN
VALUE
VLINK
VOLUME
VRML
VSPACE
WIDTH
WRAP
MAPPING
SORT
SORT_EXPR
REVERSE_EXPR
FMT
------=_NextPart_000_0024_01C1DA3E.3AC98F40--