annotate runtime/syntax/dtml.vim @ 22550:d61c22faf4be

Added tag v8.2.1823 for changeset 5055805908f5c493a05cd62d628f2363a131fac4
author Bram Moolenaar <Bram@vim.org>
date Sat, 10 Oct 2020 17:00:04 +0200
parents 46763b01cd9a
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 " DTML syntax file
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2 " Language: Zope's Dynamic Template Markup Language
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 " Maintainer: Jean Jordaan <jean@upfrontsystems.co.za> (njj)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4 " Last change: 2001 Sep 02
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6 " These are used with Claudio Fleiner's html.vim in the standard distribution.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 " Still very hackish. The 'dtml attributes' and 'dtml methods' have been
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 " hacked out of the Zope Quick Reference in case someone finds something
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 " sensible to do with them. I certainly haven't.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11
10048
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 7
diff changeset
12 " quit when a syntax file was already loaded
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 7
diff changeset
13 if exists("b:current_syntax")
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 finish
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17 " First load the HTML syntax
10048
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 7
diff changeset
18 runtime! syntax/html.vim
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 syn case match
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22 " This doesn't have any effect. Does it need to be moved to above/
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 " if !exists("main_syntax")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 " let main_syntax = 'dtml'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25 " endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27 " dtml attributes
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28 syn keyword dtmlAttribute ac_inherited_permissions access_debug_info contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29 syn keyword dtmlAttribute acquiredRolesAreUsedBy all_meta_types assume_children AUTH_TYPE contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30 syn keyword dtmlAttribute AUTHENTICATED_USER AUTHENTICATION_PATH BASE0 batch-end-index batch-size contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31 syn keyword dtmlAttribute batch-start-index bobobase_modification_time boundary branches contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32 syn keyword dtmlAttribute branches_expr capitalize cb_dataItems cb_dataValid cb_isCopyable contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33 syn keyword dtmlAttribute cb_isMoveable changeClassId classDefinedAndInheritedPermissions contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
34 syn keyword dtmlAttribute classDefinedPermissions classInheritedPermissions collapse-all column contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
35 syn keyword dtmlAttribute connected connectionIsValid CONTENT_LENGTH CONTENT_TYPE cook cookies contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
36 syn keyword dtmlAttribute COPY count- createInObjectManager da_has_single_argument dav__allprop contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
37 syn keyword dtmlAttribute dav__init dav__propnames dav__propstat dav__validate default contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
38 syn keyword dtmlAttribute delClassAttr DELETE Destination DestinationURL digits discard contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
39 syn keyword dtmlAttribute disposition document_src e encode enter etc expand-all expr File contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
40 syn keyword dtmlAttribute filtered_manage_options filtered_meta_types first- fmt footer form contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
41 syn keyword dtmlAttribute GATEWAY_INTERFACE get_local_roles get_local_roles_for_userid contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
42 syn keyword dtmlAttribute get_request_var_or_attr get_size get_size get_valid_userids getAttribute contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
43 syn keyword dtmlAttribute getAttributeNode getAttributes getChildNodes getClassAttr getContentType contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
44 syn keyword dtmlAttribute getData getDocType getDocumentElement getElementsByTagName getFirstChild contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
45 syn keyword dtmlAttribute getImplementation getLastChild getLength getName getNextSibling contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
46 syn keyword dtmlAttribute getNodeName getNodeType getNodeValue getOwnerDocument getParentNode contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
47 syn keyword dtmlAttribute getPreviousSibling getProperty getPropertyType getSize getSize getSize contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
48 syn keyword dtmlAttribute get_size getTagName getUser getUserName getUserNames getUsers contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
49 syn keyword dtmlAttribute has_local_roles hasChildNodes hasProperty HEAD header hexdigits HTML contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
50 syn keyword dtmlAttribute html_quote HTMLFile id index_html index_objects indexes contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
51 syn keyword dtmlAttribute inheritedAttribute items last- leave leave_another leaves letters LOCK contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
52 syn keyword dtmlAttribute locked_in_version lower lowercase mailfrom mailhost mailhost_list mailto contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
53 syn keyword dtmlAttribute manage manage_ methods manage_access manage_acquiredPermissions contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
54 syn keyword dtmlAttribute manage_addConferaTopic manage_addDocument manage_addDTMLDocument contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
55 syn keyword dtmlAttribute manage_addDTMLMethod manage_addFile manage_addFolder manage_addImage contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
56 syn keyword dtmlAttribute manage_addLocalRoles manage_addMailHost manage_addPermission contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
57 syn keyword dtmlAttribute manage_addPrincipiaFactory manage_addProduct manage_addProperty contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
58 syn keyword dtmlAttribute manage_addUserFolder manage_addZClass manage_addZGadflyConnection contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
59 syn keyword dtmlAttribute manage_addZGadflyConnectionForm manage_advanced manage_afterAdd contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
60 syn keyword dtmlAttribute manage_afterClone manage_beforeDelete manage_changePermissions contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
61 syn keyword dtmlAttribute manage_changeProperties manage_clone manage_CopyContainerFirstItem contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
62 syn keyword dtmlAttribute manage_copyObjects manage_cutObjects manage_defined_roles contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
63 syn keyword dtmlAttribute manage_delLocalRoles manage_delObjects manage_delProperties contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
64 syn keyword dtmlAttribute manage_distribute manage_edit manage_editedDialog manage_editProperties contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
65 syn keyword dtmlAttribute manage_editRoles manage_exportObject manage_FTPget manage_FTPlist contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
66 syn keyword dtmlAttribute manage_FTPstat manage_get_product_readme__ manage_getPermissionMapping contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
67 syn keyword dtmlAttribute manage_haveProxy manage_help manage_importObject manage_listLocalRoles contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
68 syn keyword dtmlAttribute manage_options manage_pasteObjects manage_permission contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
69 syn keyword dtmlAttribute manage_propertiesForm manage_proxy manage_renameObject manage_role contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
70 syn keyword dtmlAttribute manage_setLocalRoles manage_setPermissionMapping contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
71 syn keyword dtmlAttribute manage_subclassableClassNames manage_test manage_testForm contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
72 syn keyword dtmlAttribute manage_undo_transactions manage_upload manage_users manage_workspace contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
73 syn keyword dtmlAttribute management_interface mapping math max- mean- median- meta_type min- contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
74 syn keyword dtmlAttribute MKCOL modified_in_version MOVE multiple name navigate_filter new_version contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
75 syn keyword dtmlAttribute newline_to_br next next-batches next-sequence next-sequence-end-index contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
76 syn keyword dtmlAttribute next-sequence-size next-sequence-start-index no manage_access None contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
77 syn keyword dtmlAttribute nonempty normalize nowrap null Object Manager objectIds objectItems contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
78 syn keyword dtmlAttribute objectMap objectValues octdigits only optional OPTIONS orphan overlap contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
79 syn keyword dtmlAttribute PARENTS PATH_INFO PATH_TRANSLATED permission_settings contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
80 syn keyword dtmlAttribute permissionMappingPossibleValues permissionsOfRole pi port contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
81 syn keyword dtmlAttribute possible_permissions previous previous-batches previous-sequence contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
82 syn keyword dtmlAttribute previous-sequence-end-index previous-sequence-size contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
83 syn keyword dtmlAttribute previous-sequence-start-index PrincipiaFind PrincipiaSearchSource contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
84 syn keyword dtmlAttribute propdict propertyIds propertyItems propertyLabel propertyMap propertyMap contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
85 syn keyword dtmlAttribute propertyValues PROPFIND PROPPATCH PUT query_day query_month QUERY_STRING contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
86 syn keyword dtmlAttribute query_year quoted_input quoted_report raise_standardErrorMessage random contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
87 syn keyword dtmlAttribute read read_raw REMOTE_ADDR REMOTE_HOST REMOTE_IDENT REMOTE_USER REQUEST contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
88 syn keyword dtmlAttribute REQUESTED_METHOD required RESPONSE reverse rolesOfPermission save schema contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
89 syn keyword dtmlAttribute SCRIPT_NAME sequence-end sequence-even sequence-index contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
90 syn keyword dtmlAttribute sequence-index-var- sequence-item sequence-key sequence-Letter contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
91 syn keyword dtmlAttribute sequence-letter sequence-number sequence-odd sequence-query contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
92 syn keyword dtmlAttribute sequence-roman sequence-Roman sequence-start sequence-step-end-index contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
93 syn keyword dtmlAttribute sequence-step-size sequence-step-start-index sequence-var- SERVER_NAME contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
94 syn keyword dtmlAttribute SERVER_PORT SERVER_PROTOCOL SERVER_SOFTWARE setClassAttr setName single contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
95 syn keyword dtmlAttribute size skip_unauthorized smtphost sort spacify sql_quote SQLConnectionIDs contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
96 syn keyword dtmlAttribute standard-deviation- standard-deviation-n- standard_html_footer contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
97 syn keyword dtmlAttribute standard_html_header start String string subject SubTemplate superValues contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
98 syn keyword dtmlAttribute tabs_path_info tag test_url_ text_content this thousands_commas title contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
99 syn keyword dtmlAttribute title_and_id title_or_id total- tpURL tpValues TRACE translate tree-c contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
100 syn keyword dtmlAttribute tree-colspan tree-e tree-item-expanded tree-item-url tree-level contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
101 syn keyword dtmlAttribute tree-root-url tree-s tree-state type undoable_transactions UNLOCK contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
102 syn keyword dtmlAttribute update_data upper uppercase url url_quote URLn user_names contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
103 syn keyword dtmlAttribute userdefined_roles valid_property_id valid_roles validate_roles contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
104 syn keyword dtmlAttribute validClipData validRoles values variance- variance-n- view_image_or_file contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
105 syn keyword dtmlAttribute where whitespace whrandom xml_namespace zclass_candidate_view_actions contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
106 syn keyword dtmlAttribute ZClassBaseClassNames ziconImage ZopeFind ZQueryIds contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
107
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
108 syn keyword dtmlMethod abs absolute_url ac_inherited_permissions aCommon contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
109 syn keyword dtmlMethod aCommonZ acos acquiredRolesAreUsedBy aDay addPropertySheet aMonth AMPM contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
110 syn keyword dtmlMethod ampm AMPMMinutes appendChild appendData appendHeader asin atan atan2 contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
111 syn keyword dtmlMethod atof atoi betavariate capatilize capwords catalog_object ceil center contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
112 syn keyword dtmlMethod choice chr cloneNode COPY cos cosh count createInObjectManager contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
113 syn keyword dtmlMethod createSQLInput cunifvariate Date DateTime Day day dayOfYear dd default contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
114 syn keyword dtmlMethod DELETE deleteData delPropertySheet divmod document_id document_title dow contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
115 syn keyword dtmlMethod earliestTime enter equalTo exp expireCookie expovariate fabs fCommon contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
116 syn keyword dtmlMethod fCommonZ filtered_manage_options filtered_meta_types find float floor contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
117 syn keyword dtmlMethod fmod frexp gamma gauss get get_local_roles_for_userid get_size getattr contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
118 syn keyword dtmlMethod getAttribute getAttributeNode getClassAttr getDomains contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
119 syn keyword dtmlMethod getElementsByTagName getHeader getitem getNamedItem getobject contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
120 syn keyword dtmlMethod getObjectsInfo getpath getProperty getRoles getStatus getUser contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
121 syn keyword dtmlMethod getUserName greaterThan greaterThanEqualTo h_12 h_24 has_key contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
122 syn keyword dtmlMethod has_permission has_role hasattr hasFeature hash hasProperty HEAD hex contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
123 syn keyword dtmlMethod hour hypot index index_html inheritedAttribute insertBefore insertData contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
124 syn keyword dtmlMethod int isCurrentDay isCurrentHour isCurrentMinute isCurrentMonth contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
125 syn keyword dtmlMethod isCurrentYear isFuture isLeadYear isPast item join latestTime ldexp contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
126 syn keyword dtmlMethod leave leave_another len lessThan lessThanEqualTo ljust log log10 contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
127 syn keyword dtmlMethod lognormvariate lower lstrip maketrans manage manage_access contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
128 syn keyword dtmlMethod manage_acquiredPermissions manage_addColumn manage_addDocument contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
129 syn keyword dtmlMethod manage_addDTMLDocument manage_addDTMLMethod manage_addFile contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
130 syn keyword dtmlMethod manage_addFolder manage_addImage manage_addIndex manage_addLocalRoles contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
131 syn keyword dtmlMethod manage_addMailHost manage_addPermission manage_addPrincipiaFactory contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
132 syn keyword dtmlMethod manage_addProduct manage_addProperty manage_addPropertySheet contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
133 syn keyword dtmlMethod manage_addUserFolder manage_addZCatalog manage_addZClass contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
134 syn keyword dtmlMethod manage_addZGadflyConnection manage_addZGadflyConnectionForm contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
135 syn keyword dtmlMethod manage_advanced manage_catalogClear manage_catalogFoundItems contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
136 syn keyword dtmlMethod manage_catalogObject manage_catalogReindex manage_changePermissions contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
137 syn keyword dtmlMethod manage_changeProperties manage_clone manage_CopyContainerFirstItem contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
138 syn keyword dtmlMethod manage_copyObjects manage_createEditor manage_createView contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
139 syn keyword dtmlMethod manage_cutObjects manage_defined_roles manage_delColumns contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
140 syn keyword dtmlMethod manage_delIndexes manage_delLocalRoles manage_delObjects contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
141 syn keyword dtmlMethod manage_delProperties manage_Discard__draft__ manage_distribute contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
142 syn keyword dtmlMethod manage_edit manage_edit manage_editedDialog manage_editProperties contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
143 syn keyword dtmlMethod manage_editRoles manage_exportObject manage_importObject contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
144 syn keyword dtmlMethod manage_makeChanges manage_pasteObjects manage_permission contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
145 syn keyword dtmlMethod manage_propertiesForm manage_proxy manage_renameObject manage_role contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
146 syn keyword dtmlMethod manage_Save__draft__ manage_setLocalRoles manage_setPermissionMapping contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
147 syn keyword dtmlMethod manage_test manage_testForm manage_uncatalogObject contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
148 syn keyword dtmlMethod manage_undo_transactions manage_upload manage_users manage_workspace contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
149 syn keyword dtmlMethod mange_createWizard max min minute MKCOL mm modf month Month MOVE contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
150 syn keyword dtmlMethod namespace new_version nextObject normalvariate notEqualTo objectIds contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
151 syn keyword dtmlMethod objectItems objectValues oct OPTIONS ord paretovariate parts pCommon contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
152 syn keyword dtmlMethod pCommonZ pDay permissionsOfRole pMonth pow PreciseAMPM PreciseTime contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
153 syn keyword dtmlMethod previousObject propertyInfo propertyLabel PROPFIND PROPPATCH PUT quit contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
154 syn keyword dtmlMethod raise_standardErrorMessage randint random read read_raw redirect contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
155 syn keyword dtmlMethod removeAttribute removeAttributeNode removeChild replace replaceChild contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
156 syn keyword dtmlMethod replaceData rfc822 rfind rindex rjust rolesOfPermission round rstrip contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
157 syn keyword dtmlMethod save searchResults second seed set setAttribute setAttributeNode setBase contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
158 syn keyword dtmlMethod setCookie setHeader setStatus sin sinh split splitText sqrt str strip contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
159 syn keyword dtmlMethod substringData superValues swapcase tabs_path_info tan tanh Time contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
160 syn keyword dtmlMethod TimeMinutes timeTime timezone title title_and_id title_or_id toXML contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
161 syn keyword dtmlMethod toZone uncatalog_object undoable_transactions uniform uniqueValuesFor contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
162 syn keyword dtmlMethod update_data upper valid_property_id validate_roles vonmisesvariate contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
163 syn keyword dtmlMethod weibullvariate year yy zfill ZopeFind contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
164
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
165 " DTML tags
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
166 syn keyword dtmlTagName var if elif else unless in with let call raise try except tag comment tree sqlvar sqltest sqlgroup sendmail mime transparent contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
167
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
168 syn keyword dtmlEndTagName if unless in with let raise try tree sendmail transparent contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
169
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
170 " Own additions
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
171 syn keyword dtmlTODO TODO FIXME contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
172
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
173 syn region dtmlComment start=+<dtml-comment>+ end=+</dtml-comment>+ contains=dtmlTODO
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
174
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
175 " All dtmlTagNames are contained by dtmlIsTag.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
176 syn match dtmlIsTag "dtml-[A-Za-z]\+" contains=dtmlTagName
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
177
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
178 " 'var' tag entity syntax: &dtml-variableName;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
179 " - with attributes: &dtml.attribute1[.attribute2]...-variableName;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
180 syn match dtmlSpecialChar "&dtml[.0-9A-Za-z_]\{-}-[0-9A-Za-z_.]\+;"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
181
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
182 " Redefine to allow inclusion of DTML within HTML strings.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
183 syn cluster htmlTop contains=@Spell,htmlTag,htmlEndTag,dtmlSpecialChar,htmlSpecialChar,htmlPreProc,htmlComment,htmlLink,javaScript,@htmlPreproc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
184 syn region htmlLink start="<a\>[^>]*href\>" end="</a>"me=e-4 contains=@Spell,htmlTag,htmlEndTag,dtmlSpecialChar,htmlSpecialChar,htmlPreProc,htmlComment,javaScript,@htmlPreproc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
185 syn region htmlHead start="<head\>" end="</head>"me=e-7 end="<body\>"me=e-5 end="<h[1-6]\>"me=e-3 contains=htmlTag,htmlEndTag,dtmlSpecialChar,htmlSpecialChar,htmlPreProc,htmlComment,htmlLink,htmlTitle,javaScript,cssStyle,@htmlPreproc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
186 syn region htmlTitle start="<title\>" end="</title>"me=e-8 contains=htmlTag,htmlEndTag,dtmlSpecialChar,htmlSpecialChar,htmlPreProc,htmlComment,javaScript,@htmlPreproc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
187 syn region htmlString contained start=+"+ end=+"+ contains=dtmlSpecialChar,htmlSpecialChar,javaScriptExpression,dtmlIsTag,dtmlAttribute,dtmlMethod,@htmlPreproc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
188 syn match htmlTagN contained +<\s*[-a-zA-Z0-9]\++hs=s+1 contains=htmlTagName,htmlSpecialTagName,dtmlIsTag,dtmlAttribute,dtmlMethod,@htmlTagNameCluster
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
189 syn match htmlTagN contained +</\s*[-a-zA-Z0-9]\++hs=s+2 contains=htmlTagName,htmlSpecialTagName,dtmlIsTag,dtmlAttribute,dtmlMethod,@htmlTagNameCluster
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
190
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
191 " Define the default highlighting.
10048
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 7
diff changeset
192 " Only when an item doesn't have highlighting yet
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
193
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
194 hi def link dtmlIsTag PreProc
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
195 hi def link dtmlAttribute Identifier
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
196 hi def link dtmlMethod Function
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
197 hi def link dtmlComment Comment
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
198 hi def link dtmlTODO Todo
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
199 hi def link dtmlSpecialChar Special
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
200
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
201
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
202 let b:current_syntax = "dtml"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
203
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
204 " if main_syntax == 'dtml'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
205 " unlet main_syntax
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
206 " endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
207
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
208 " vim: ts=4