; Full TextPad syntax definitions for JavaScript 1.5 (including old Netscape stuff) and MS JScript 5.6 ; Copyright (C) 2003, Steve D. Vachon, svachon@liquidgraphics.com, http://www.svachon.com C=1 [Syntax] Namespace1 = 6 IgnoreCase = No InitKeyWordChars = A-Za-z_ KeyWordChars = A-Za-z0-9_ BracketChars = {[()]} OperatorChars = -+*/<>!~%^&|= PreprocStart = # SyntaxStart = SyntaxEnd = CommentStart = /* CommentEnd = */ CommentStartAlt = CommentEndAlt = SingleComment = // SingleCommentCol = SingleCommentAlt = SingleCommentColAlt = StringStart = " StringEnd = " StringAlt = StringEsc = \ CharStart = ' CharEnd = ' CharEsc = \ [Keywords 1] ; CONSTANTS false null true undefined void [Keywords 2] ; CLASSES AND OBJECTS anchors applets areas arguments attributes Array body Boolean bookmarks break case cells childNodes continue Date do document elements else embeds event external for forms frames function history if images links location Math mimeTypes navigator new Number Object options plugins RegExp rows return rules screen self String switch tBodies this top typeof var while window [Keywords 3] ; CLASSES AND OBJECTS (NETSCAPE) layers [Keywords 4] ; CLASSES AND OBJECTS (MS JSCRIPT) behaviorUrns blockFormats boundElements children controlRange filters fonts imports namespaces pages scripts styleSheets TextRange TextRectangle [Keywords 5] ; EVENTS, FUNCTIONS, METHODS AND PROPERTIES abs accept acceptCharset accessKey acos action add alert align aLink alt anchor appCodeName appendChild appendData appName appVersion archive asin atan atan2 availHeight availWidth axis back background backgroundAttachment backgroundColor backgroundImage backgroundPosition backgroundRepeat big bgColor blur bold border borderBottom borderBottomColor borderBottomStyle borderBottomWidth borderCollapse borderColor borderLeft borderLeftColor borderLeftStyle borderLeftWidth borderRight borderRightColor borderRightStyle borderRightWidth borderStyle borderTop borderTopColor borderTopStyle borderTopWidth borderWidth bottom bottomMargin callee caller caption ceil cellIndex cellPadding cellSpacing ch charAt charCodeAt charset checked chOff cite classid className clear clearInterval clearTimeout click clip cloneNode close closed code codeBase codeType color colorDepth cols colSpan compact concat confirm constructor content cookie coords cos createAttribute createCaption createComment createDocumentFragment createElement createTextNode createTFoot createTHead cursor data dateTime declare defaultChecked defaultSelected defaultStatus defaultValue defer deleteCaption deleteCell deleteData deleteRow deleteTFoot deleteTHead description dir disabled disableExternalCapture display doctype documentElement domain E elements embeds enableExternalCapture encoding enctype exp face fgColor firstChild fixed floor focus font fontcolor fontFamily fontSize fontStyle fontVariant fontWeight form forward frame frameBorder fromCharCode getAttribute getAttributeNode getDate getDay getElementById getElementByName getElementByTagName getFullYear getHours getMilliseconds getMinutes getMonth getNamedItem getSeconds getTime getTimezoneOffset getUTCDate getUTCDay getUTCFullYear getUTCHours getUTCMilliseconds getUTCMinutes getUTCMonth getUTCSeconds go handleEvent hasChildNodes hasFeatures hash headers height home host hostname href hreflang hspace htmlFor httpEquiv id implementation index innerHTML innerText indexOf input insertBefore insertCell insertData insertRow isMap isNaN italics item javaEnabled join label lang language lastChild lastIndexOf lastModified left length letterSpacing lineHeight link listStyle listStyleImage listStylePosition listStyleType LN10 LN2 location log LOG10E LOG2E longDesc lowsrc match max maxLength MAX_VALUE media method min minHeight MIN_VALUE moveTo multiple name namedItem NaN NEGATIVE_INIFINITY nextSibling nodeName nodeType nodeValue noHref noResize normalize noShade noWrap object onabort onblur onchange onclick oncontextmenu ondblclick ondragdrop onerror onfocus onkeydown onkeypress onkeyup onload onmousedown onmouseout onmouseover onmouseup onmove onreset onresize onselect onsubmit onunload open opener outerHeight outerWidth overflow ownerDocument padding paddingBottom paddingLeft paddingRight paddingTop pageBreakAfter pageBreakBefore pageXoffset pageYoffset parent parentNode parse parseFloat parseInt pathname personalbar PI pixelDepth platform pluginspace pop port POSITIVE_INFINITY position pow previousSibling print profile prompt protocol prototype push random readOnly referrer refresh rel releaseEvents reload remove removeAttribute removeAttributeNode removeChild removeNamedItem replace replaceChild replaceData reset resizeTo rev reverse right round routeEvent rowIndex rows rowSpan rubyAlign rubyOverhang rubyPosition rules scheme scope scrollbars scrollBy scrolling scrollTo search sectionRowIndex select selected selectedIndex selectNodeContents setAttribute setAttributeNode setDate setDay setFullYear setHours setInterval setMilliseconds setMinutes setMonth setNamedItem setSeconds setTime setTimeout setUTCDate setUTCHours setUTCMilliseconds setUTCMinutes setUTCMonth setUTCSeconds shape shift sin size slice small span specified splice split splitText sort sqrt SQRT1_2 SQRT2 src standby start status statusbar stop strike style styleFloat sub submit substr substring substringData summary sup tabIndex tableLayout tagName taintEnabled tan target text textAlign textAutospace textDecoration textIndent textJustify textKashidaSpace textOverflow textTransform tFoot tHead title toGMTString toLocaleString toLowerCase toolbar toString toUpperCase toUTCString type unicodeBidi units unwatch URL useMap userAgent userLanguage UTC vAlign value valueOf valueType version verticalAlign visibility vLink vlinkColor volume vspace watch whiteSpace width wordSpacing wordWrap wrap write writeIn zIndex [Keywords 6] ; EVENTS, FUNCTIONS, METHODS AND PROPERTIES (NETSCAPE) apply below blink call captureEvent current find getSelection innerHeight innerWidth layerX layerY locationbar menubar modifiers moveAbove moveBelow moveBy next pageX pageY parentLayer preference previous resizeBy screenX screenY siblingAbove siblingBelow toSource which [Keywords 7] ; EVENTS, FUNCTIONS, METHODS AND PROPERTIES (MS JSCRIPT) accelerator activeElement addBehavior addChannel addDesktopComponent addElement addFavorite addImport additive addPageRule addReadRequest addRule all allowTransparency alinkColor altHTML altKey altLeft applicationName applyElement appMinorVersion assign attachEvent autocomplete autoCompleteSaveForm autoScan availHeight availWidth backgroundPositionX backgroundPositionY balance Banner BannerAbstract BaseHref behavior bgProperties blockDirection borderColorDark borderColorLight boundingHeight boundingLeft boundingTop boundingWidth browserLanguage bufferDepth button cancelBubble canHaveChildren canHaveHTML chooseColorDlg clearAttributes clearData clearRequest clientHeight clientLeft clientTop clientWidth clientX clientY clipBottom clipLeft clipRight clipTop collapse compareEndPoints compatMode complete componentFromPoint contains contentEditable contentOverflow contentWindow cookieEnabled Count cpuClass createControlRange createEventObject createPopup createRange createRangeCollection createStyleSheet createTextRange cssText ctrlKey ctrlLeft dataFld dataFormatAs dataPageSize dataSrc defaultCharset designMode detachEvent deviceXDPI deviceYDPI dialogArguments dialogHeight dialogLeft dialogTop dialogWidth direction doImport doReadRequest doScroll dragDrop dropEffect duplicate dynsrc effectAllowed elementFromPoint empty execCommand execScript expand expando fieldDelim fileCreatedDate fileModifiedDate fileSize fileUpdatedDate filter findText fireEvent firstPage fontSmoothingEnabled frameElement frameSpacing fromElement galleryImg getAdjacentText getBookmark getBoundingClientRect getCharset getClientRects getData getExpression hasFocus hasLayout hidden hide hideFocus htmlText imeMode importExportFavorites indeterminate inRange insertAdjacentElement insertAdjacentHTML insertAdjacentText isContentEditable isDisabled isEqual isMultiLine isOpen isSubscribed isTextEdit keyCode lastPage layoutFlow layoutGrid layoutGridChar layoutGridLine layoutGridMode layoutGridType leftMargin lineBreak linkColor logicalXDPI logicalYDPI loop margin marginBottom marginHeight marginLeft marginRight marginTop marginWidth menuArguments mergeAttributes Methods move moveEnd moveRow moveStart moveToBookmark moveToElementText moveToPoint namedRecordset nameProp navigate navigateAndFind nextPage offscreenBuffering offsetHeight offsetLeft offsetParent offsetTop offsetWidth offsetX offsetY onabort onactivate onafterprint onbeforeactivate onbeforecopy onbeforeacut onbeforedeactivate onbeforeeditfocus onbeforepaste onbeforeprint onbeforeunload onbeforeupdate onbounce oncellchange oncontrolselect oncopy oncut ondataavailable ondatasetchanged ondatasetcomplete ondeactivate ondrag ondragend ondragenter ondragleave ondragover ondragstart onfinish onfocusin onfocusout onhelp onlayoutcomplete onLine onlosecapture onmouseenter onmouseleave onmousewheel onmove onmoveend onmovestart onpaste onpropertychange onreadystatechange onresizeend onresizestart onrowenter onrowexit onrowsdelete onrowsinserted onscroll onselectionchange onselectstart onstart onstop outerHTML outerText overflowX overflowY owningElement palette parentElement parentStyleSheet parentTextEdit parentWindow pasteHTML pathname pixelBottom pixelHeight pixelLeft pixelRight pixelTop pixelWidth posBottom posHeight posLeft posRight posTop posWidth previousPage propertyName pseudoClass qualifier queryCommandEnabled queryCommandIndeterm queryCommandState queryCommandSupported queryCommandValue readyState reason recalc recordNumber recordset releaseCapture removeAttributeBehavior removeExpression removeNode removeRule repeat replaceAdjacentText replaceNode returnValue rightMargin saveType scopeName screenLeft screenTop screenX screenY scroll scrollAmount scrollbar3dLightColor scrollbarArrowColor scrollbarBaseColor scrollbarDarkShadowColor scrollbarFaceColor scrollbarHighlightColor scrollbarShadowColor scrollbarTrackColor scrollbarDelay scrollbarHeight scrollbarLeft scrollbarTop scrollbarWidth scrollIntoView selector selectorText setActive setCapture setData setEndPoint setExpression shiftKey shiftLeft show showBrowserUI showHelp showModalDialog showModelessDialog sourceIndex srcElement srcFilter srcUrn swapNode systemLanguage tabStop tags tagUrn textAlignLast textDecorationBlink textDecorationLineThrough textDecorationNone textDecorationOverline textDecorationUnderline textUnderlinePosition toElement topMargin trueSpeed typeDetail uniqueID updateInterval URLUnencoded vcard_name viewInheritStyle viewLink viewMasterTab wheelDelta wordBreak writingMode x XMLDocument XSLDocument y zoom [Keywords 8] ; UNDOCUMENTED FEATURES createContextualFragment