mirror of
https://github.com/kennethreitz-archive/kJS.tmbundle.git
synced 2026-06-05 23:50:19 +00:00
Commit patch by h0h from #textmate
support.function.event-handler.js names are all lowercased, as required by XHTML Regexps are now matched more liberally git-svn-id: http://macromates.com/svn/Bundles/trunk/Bundles/JavaScript.tmbundle@2446 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
This commit is contained in:
@@ -203,7 +203,7 @@
|
||||
</dict>
|
||||
<dict>
|
||||
<key>match</key>
|
||||
<string>\b(onAbort|onActivate|onAfterprint|onAfterupdate|onBeforeactivate|onBeforecut|onBeforedeactivate|onBeforeeditfocus|onBeforepaste|onBeforeprint|onBeforeunload|onBeforeupdate|onBlur|onCellchange|onChange|onClick|onClose|onContextmenu|onControlselect|onCut|onDataavailable|onDatasetchanged|onDatasetcomplete|onDblclick|onDeactivate|onDrag|onDragdrop|onDragend|onDragenter|onDragleave|onDragover|onDragstart|onDrop|onError|onErrorupdate|onFocus|onHelp|onKeydown|onKeypress|onKeyup|onLoad|onMousedown|onMousemove|onMouseout|onMouseover|onMouseup|onPaste|onPropertychange|onReadystatechange|onReset|onResize|onResizeend|onResizestart|onRowenter|onRowexit|onRowsdelete|onRowsinserted|onScroll|onSelect|onSelectionchange|onSelectstart|onStop|onSubmit|onUnload)\b</string>
|
||||
<string>\b(onabort|onactivate|onafterprint|onafterupdate|onbeforeactivate|onbeforecut|onbeforedeactivate|onbeforeeditfocus|onbeforepaste|onbeforeprint|onbeforeunload|onbeforeupdate|onblur|oncellchange|onchange|onclick|onclose|oncontextmenu|oncontrolselect|oncut|ondataavailable|ondatasetchanged|ondatasetcomplete|ondblclick|ondeactivate|ondrag|ondragdrop|ondragend|ondragenter|ondragleave|ondragover|ondragstart|ondrop|onerror|onerrorupdate|onfocus|onhelp|onkeydown|onkeypress|onkeyup|onload|onmousedown|onmousemove|onmouseout|onmouseover|onmouseup|onpaste|onpropertychange|onreadystatechange|onreset|onresize|onresizeend|onresizestart|onrowenter|onrowexit|onrowsdelete|onrowsinserted|onscroll|onselect|onselectionchange|onselectstart|onstop|onsubmit|onunload)\b</string>
|
||||
<key>name</key>
|
||||
<string>support.function.event-handler.js</string>
|
||||
</dict>
|
||||
@@ -221,7 +221,7 @@
|
||||
</dict>
|
||||
<dict>
|
||||
<key>begin</key>
|
||||
<string>(?<=[=(]|^)\s*/(?![/*+{}?])</string>
|
||||
<string>(?<=^|[(=&|!+<~>^*%,:?-]|\btypeof|void|/\s)\s*/(?![/*+{}?])</string>
|
||||
<key>end</key>
|
||||
<string>/[igm]*</string>
|
||||
<key>name</key>
|
||||
|
||||
Reference in New Issue
Block a user