From bc10783ef429ed9b9cd5803a925f578d5ca02007 Mon Sep 17 00:00:00 2001 From: Thomas Aylott Date: Sun, 21 Sep 2008 04:05:40 -0400 Subject: [PATCH] Code Completion with tooltips from Quirksmode.org (with permission) --- Commands/Complete.tmCommand | 25 + Preferences/Completions.tmPreferences | 1444 +++++++++++++++++ Support/Array.instance.completions.json | 8 + Support/completions.json | 14 + ...org.quirksmode.dom.events.completions.json | 89 + ...g.quirksmode.dom.w3c_core.completions.json | 62 + ...rg.quirksmode.dom.w3c_css.completions.json | 23 + ....quirksmode.dom.w3c_cssom.completions.json | 42 + ...quirksmode.dom.w3c_events.completions.json | 29 + ...g.quirksmode.dom.w3c_html.completions.json | 41 + TODO | 18 + 11 files changed, 1795 insertions(+) create mode 100644 Commands/Complete.tmCommand create mode 100644 Preferences/Completions.tmPreferences create mode 100644 Support/Array.instance.completions.json create mode 100644 Support/completions.json create mode 100644 Support/org.quirksmode.dom.events.completions.json create mode 100644 Support/org.quirksmode.dom.w3c_core.completions.json create mode 100644 Support/org.quirksmode.dom.w3c_css.completions.json create mode 100644 Support/org.quirksmode.dom.w3c_cssom.completions.json create mode 100644 Support/org.quirksmode.dom.w3c_events.completions.json create mode 100644 Support/org.quirksmode.dom.w3c_html.completions.json create mode 100644 TODO diff --git a/Commands/Complete.tmCommand b/Commands/Complete.tmCommand new file mode 100644 index 0000000..4685b40 --- /dev/null +++ b/Commands/Complete.tmCommand @@ -0,0 +1,25 @@ + + + + + beforeRunningCommand + nop + command + #!/usr/bin/env ruby +require ENV['TM_SUPPORT_PATH'] + '/lib/tm/complete' +TextMate::Complete.new.complete! + + input + none + keyEquivalent + ~ + name + Code Completion + output + showAsTooltip + scope + source.js + uuid + C09ABCA9-7558-4385-8E29-10E42093D8B6 + + diff --git a/Preferences/Completions.tmPreferences b/Preferences/Completions.tmPreferences new file mode 100644 index 0000000..5918829 --- /dev/null +++ b/Preferences/Completions.tmPreferences @@ -0,0 +1,1444 @@ + + + + + name + Completions + scope + source.js + settings + + completions + + blur + change + click + contextmenu + copy + cut + dblclick + error + focus + keydown + keypress + keyup + mousedown + mousemove + mouseout + mouseover + mouseup + mousewheel + paste + reset + resize + scroll + select + submit + DOMActivate + DOMAttrModified + DOMCharacterDataModified + DOMFocusIn + DOMFocusOut + DOMMouseScroll + DOMNodeInserted + DOMNodeRemoved + DOMSubtreeModified + textInput + activate + beforecopy + beforecut + beforepaste + deactivate + focusin + focusout + hashchange + mouseenter + mouseleave + createElement() + createTextNode() + getElementById() + getElementsByClassName() + getElementsByTagName() + querySelectorAll() + nodeName + nodeType + nodeValue + tagName + childNodes[] + children[] + firstChild + hasChildNodes() + lastChild + nextSibling + parentNode + previousSibling + sourceIndex + appendChild() + cloneNode() + insertBefore() + removeChild() + replaceChild() + appendData() + data + deleteData() + insertData() + replaceData() + substringData() + attributes[index] + attributes[key] + createAttribute() + setAttributeNode() + getAttribute() + getAttributeNode() + hasAttribute() + hasAttributes() + name + removeAttribute() + removeAttributeNode() + setAttribute() + setAttributeNode() + value + contains() + createDocument() + createDocumentFragment() + documentElement + getElementsByName() + hasFeature() + isSupported() + item() + normalize() + ownerDocument + splitText() + applyElement() + clearAttributes() + mergeAttributes() + removeNode() + replaceNode() + swapNode() + currentStyle + getComputedStyle() + style + cssRules[] + imports[] + rules[] + styleSheets[] + addRule() + deleteRule() + insertRule() + removeRule() + cssText + disabled + href + selectorText + createStyleSheet() + getPropertyPriority() + getPropertyValue() + ownerNode + parentStyleSheet + removeProperty() + setProperty() + innerWidth + innerHeight + outerWidth + outerHeight + pageXOffset + pageYOffset + screenX + screenY + availWidth + availHeight + colorDepth + pixelDepth + width + height + elementFromPoint() + getBoundingClientRect() + getClientRects() + scrollIntoView() + clientLeft + clientTop + clientWidth + clientHeight + offsetLeft + offsetTop + offsetParent + offsetWidth + offsetHeight + scrollLeft + scrollTop + scrollWidth + scrollHeight + clientX + clientY + offsetX + offsetY + pageX + pageY + screenX + screenY + x + y + currentTarget + fromElement + toElement + relatedTarget + srcElement + target + altKey + altLeft + charCode + ctrlKey + ctrlLeft + keyCode + metaKey + modifiers + repeat + shiftKey + shiftLeft + which + button + detail + timeStamp + type + wheelDelta + which + addEventListener() + attachEvent() + detachEvent() + removeEventListener() + className + dir + id + innerHTML + innerText + outerHTML + outerText + textContent + title + body + compatMode + createHTMLDocument() + defaultView + parentWindow + add() + remove() + caption + cellIndex + cellPadding + cells[] + cellSpacing + createCaption() + createTFoot() + createTHead() + deleteCaption() + deleteCell() + deleteRow() + deleteTFoot() + deleteTHead() + frame + insertCell() + insertRow() + moveRow() + rowIndex + rows[] + rules + sectionRowIndex + tBodies[] + tFoot + tHead + ADDITION + ANY_TYPE + ANY_UNORDERED_NODE_TYPE + ATTRIBUTE_NODE + AT_TARGET + Attr + Audio + Audio() + BAD_BOUNDARYPOINTS_ERR + BLUR + BOOLEAN_TYPE + BOTH + BUBBLING_PHASE + CAN_PLAY + CAN_PLAY_THROUGH + CAN_SHOW_CURRENT_FRAME + CAPTURING_PHASE + CDATASection + CDATA_SECTION_NODE + CHANGE + CHARSET_RULE + CLICK + COMMENT_NODE + CSSCharsetRule + CSSFontFaceRule + CSSImportRule + CSSMediaRule + CSSPageRule + CSSPrimitiveValue + CSSRule + CSSRuleList + CSSStyleDeclaration + CSSStyleRule + CSSStyleSheet + CSSValue + CSSValueList + CSS_ATTR + CSS_CM + CSS_COUNTER + CSS_CUSTOM + CSS_DEG + CSS_DIMENSION + CSS_EMS + CSS_EXS + CSS_GRAD + CSS_HZ + CSS_IDENT + CSS_IN + CSS_INHERIT + CSS_KHZ + CSS_MM + CSS_MS + CSS_NUMBER + CSS_PC + CSS_PERCENTAGE + CSS_PRIMITIVE_VALUE + CSS_PT + CSS_PX + CSS_RAD + CSS_RECT + CSS_RGBCOLOR + CSS_S + CSS_STRING + CSS_UNKNOWN + CSS_URI + CSS_VALUE_LIST + CharacterData + Comment + Components + Counter + DATA_UNAVAILABLE + DBLCLICK + DOCUMENT_FRAGMENT_NODE + DOCUMENT_NODE + DOCUMENT_POSITION_CONTAINED_BY + DOCUMENT_POSITION_CONTAINS + DOCUMENT_POSITION_DISCONNECTED + DOCUMENT_POSITION_FOLLOWING + DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC + DOCUMENT_POSITION_PRECEDING + DOCUMENT_TYPE_NODE + DOMException + DOMImplementation + DOMParser + DOMParser() + DOMSTRING_SIZE_ERR + DRAGDROP + Document + DocumentFragment + DocumentType + ELEMENT_NODE + EMPTY + END_TO_END + END_TO_START + ENTITY_NODE + ENTITY_REFERENCE_NODE + Element + Entity + EntityReference + EvalError() + Event + EventException + FILTER_ACCEPT + FILTER_REJECT + FILTER_SKIP + FIRST_ORDERED_NODE_TYPE + FOCUS + FONT_FACE_RULE + HIERARCHY_REQUEST_ERR + HORIZONTAL + HTMLAnchorElement + HTMLAppletElement + HTMLAreaElement + HTMLAudioElement + HTMLBRElement + HTMLBaseElement + HTMLBaseFontElement + HTMLBlockquoteElement + HTMLBodyElement + HTMLButtonElement + HTMLCanvasElement + HTMLDListElement + HTMLDirectoryElement + HTMLDivElement + HTMLDocument + HTMLElement + HTMLEmbedElement + HTMLFieldSetElement + HTMLFontElement + HTMLFormElement + HTMLFrameElement + HTMLFrameSetElement + HTMLHRElement + HTMLHeadElement + HTMLHeadingElement + HTMLHtmlElement + HTMLIFrameElement + HTMLImageElement + HTMLInputElement + HTMLIsIndexElement + HTMLLIElement + HTMLLabelElement + HTMLLegendElement + HTMLLinkElement + HTMLMapElement + HTMLMarqueeElement + HTMLMediaElement + HTMLMenuElement + HTMLMetaElement + HTMLModElement + HTMLOListElement + HTMLObjectElement + HTMLOptGroupElement + HTMLOptionElement + HTMLParagraphElement + HTMLParamElement + HTMLPreElement + HTMLQuoteElement + HTMLScriptElement + HTMLSelectElement + HTMLStyleElement + HTMLTableCaptionElement + HTMLTableCellElement + HTMLTableColElement + HTMLTableElement + HTMLTableRowElement + HTMLTableSectionElement + HTMLTextAreaElement + HTMLTitleElement + HTMLUListElement + HTMLVideoElement + IMPORT_RULE + INDEX_SIZE_ERR + INUSE_ATTRIBUTE_ERR + INVALID_ACCESS_ERR + INVALID_CHARACTER_ERR + INVALID_EXPRESSION_ERR + INVALID_MODIFICATION_ERR + INVALID_NODE_TYPE_ERR + INVALID_STATE_ERR + Image + Image() + ImageData() + KEYDOWN + KEYPRESS + KEYUP + KeyboardEvent + LENGTHADJUST_SPACING + LENGTHADJUST_SPACINGANDGLYPHS + LENGTHADJUST_UNKNOWN + LOADED + LOADED_FIRST_FRAME + LOADED_METADATA + LOADING + MEDIA_ERR_ABORTED + MEDIA_ERR_DECODE + MEDIA_ERR_NETWORK + MEDIA_RULE + MODE_ASYNCHRONOUS + MODE_SYNCHRONOUS + MODIFICATION + MOUSEDOWN + MOUSEDRAG + MOUSEMOVE + MOUSEOUT + MOUSEOVER + MOUSEUP + MediaError + MediaList + MouseEvent + MutationEvent + NAMESPACE_ERR + NETWORK_ERR + NODE_AFTER + NODE_BEFORE + NODE_BEFORE_AND_AFTER + NODE_INSIDE + NOTATION_NODE + NOT_FOUND_ERR + NOT_SUPPORTED_ERR + NO_DATA_ALLOWED_ERR + NO_MODIFICATION_ALLOWED_ERR + NUMBER_TYPE + NamedNodeMap + Node + NodeFilter + NodeList + Notation + ORDERED_NODE_ITERATOR_TYPE + ORDERED_NODE_SNAPSHOT_TYPE + Option + Option() + OverflowEvent + PAGE_RULE + PATHSEG_ARC_ABS + PATHSEG_ARC_REL + PATHSEG_CLOSEPATH + PATHSEG_CURVETO_CUBIC_ABS + PATHSEG_CURVETO_CUBIC_REL + PATHSEG_CURVETO_CUBIC_SMOOTH_ABS + PATHSEG_CURVETO_CUBIC_SMOOTH_REL + PATHSEG_CURVETO_QUADRATIC_ABS + PATHSEG_CURVETO_QUADRATIC_REL + PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS + PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL + PATHSEG_LINETO_ABS + PATHSEG_LINETO_HORIZONTAL_ABS + PATHSEG_LINETO_HORIZONTAL_REL + PATHSEG_LINETO_REL + PATHSEG_LINETO_VERTICAL_ABS + PATHSEG_LINETO_VERTICAL_REL + PATHSEG_MOVETO_ABS + PATHSEG_MOVETO_REL + PATHSEG_UNKNOWN + PROCESSING_INSTRUCTION_NODE + Packages + ProcessingInstruction + ProgressEvent + QueryInterface() + REMOVAL + RENDERING_INTENT_ABSOLUTE_COLORIMETRIC + RENDERING_INTENT_AUTO + RENDERING_INTENT_PERCEPTUAL + RENDERING_INTENT_RELATIVE_COLORIMETRIC + RENDERING_INTENT_SATURATION + RENDERING_INTENT_UNKNOWN + Range + RangeError() + RangeException + Rect + ReferenceError() + RegExp + SELECT + SHOW_ALL + SHOW_ATTRIBUTE + SHOW_CDATA_SECTION + SHOW_COMMENT + SHOW_DOCUMENT + SHOW_DOCUMENT_FRAGMENT + SHOW_DOCUMENT_TYPE + SHOW_ELEMENT + SHOW_ENTITY + SHOW_ENTITY_REFERENCE + SHOW_NOTATION + SHOW_PROCESSING_INSTRUCTION + SHOW_TEXT + START_TO_END + START_TO_START + STRING_TYPE + STYLE_RULE + SVGAngle + SVGColor + SVGException + SVGGradientElement + SVGLength + SVGMarkerElement + SVGPaint + SVGPathSeg + SVGPreserveAspectRatio + SVGRenderingIntent + SVGTextContentElement + SVGTextPathElement + SVGTransform + SVGUnitTypes + SVGUnitTypes() + SVGZoomAndPan() + SVG_ANGLETYPE_DEG + SVG_ANGLETYPE_GRAD + SVG_ANGLETYPE_RAD + SVG_ANGLETYPE_UNKNOWN + SVG_ANGLETYPE_UNSPECIFIED + SVG_COLORTYPE_CURRENTCOLOR + SVG_COLORTYPE_RGBCOLOR + SVG_COLORTYPE_RGBCOLOR_ICCCOLOR + SVG_COLORTYPE_UNKNOWN + SVG_INVALID_VALUE_ERR + SVG_LENGTHTYPE_CM + SVG_LENGTHTYPE_EMS + SVG_LENGTHTYPE_EXS + SVG_LENGTHTYPE_IN + SVG_LENGTHTYPE_MM + SVG_LENGTHTYPE_NUMBER + SVG_LENGTHTYPE_PC + SVG_LENGTHTYPE_PERCENTAGE + SVG_LENGTHTYPE_PT + SVG_LENGTHTYPE_PX + SVG_LENGTHTYPE_UNKNOWN + SVG_MARKERUNITS_STROKEWIDTH + SVG_MARKERUNITS_UNKNOWN + SVG_MARKERUNITS_USERSPACEONUSE + SVG_MARKER_ORIENT_ANGLE + SVG_MARKER_ORIENT_AUTO + SVG_MARKER_ORIENT_UNKNOWN + SVG_MATRIX_NOT_INVERTABLE + SVG_MEETORSLICE_MEET + SVG_MEETORSLICE_SLICE + SVG_MEETORSLICE_UNKNOWN + SVG_PAINTTYPE_CURRENTCOLOR + SVG_PAINTTYPE_NONE + SVG_PAINTTYPE_RGBCOLOR + SVG_PAINTTYPE_RGBCOLOR_ICCCOLOR + SVG_PAINTTYPE_UNKNOWN + SVG_PAINTTYPE_URI + SVG_PAINTTYPE_URI_CURRENTCOLOR + SVG_PAINTTYPE_URI_NONE + SVG_PAINTTYPE_URI_RGBCOLOR + SVG_PAINTTYPE_URI_RGBCOLOR_ICCCOLOR + SVG_PRESERVEASPECTRATIO_NONE + SVG_PRESERVEASPECTRATIO_UNKNOWN + SVG_PRESERVEASPECTRATIO_XMAXYMAX + SVG_PRESERVEASPECTRATIO_XMAXYMID + SVG_PRESERVEASPECTRATIO_XMAXYMIN + SVG_PRESERVEASPECTRATIO_XMIDYMAX + SVG_PRESERVEASPECTRATIO_XMIDYMID + SVG_PRESERVEASPECTRATIO_XMIDYMIN + SVG_PRESERVEASPECTRATIO_XMINYMAX + SVG_PRESERVEASPECTRATIO_XMINYMID + SVG_PRESERVEASPECTRATIO_XMINYMIN + SVG_SPREADMETHOD_PAD + SVG_SPREADMETHOD_REFLECT + SVG_SPREADMETHOD_REPEAT + SVG_SPREADMETHOD_UNKNOWN + SVG_TRANSFORM_MATRIX + SVG_TRANSFORM_ROTATE + SVG_TRANSFORM_SCALE + SVG_TRANSFORM_SKEWX + SVG_TRANSFORM_SKEWY + SVG_TRANSFORM_TRANSLATE + SVG_TRANSFORM_UNKNOWN + SVG_UNIT_TYPE_OBJECTBOUNDINGBOX + SVG_UNIT_TYPE_UNKNOWN + SVG_UNIT_TYPE_USERSPACEONUSE + SVG_WRONG_TYPE_ERR + SYNTAX_ERR + StyleSheet + StyleSheetList + SyntaxError() + TEXTPATH_METHODTYPE_ALIGN + TEXTPATH_METHODTYPE_STRETCH + TEXTPATH_METHODTYPE_UNKNOWN + TEXTPATH_SPACINGTYPE_AUTO + TEXTPATH_SPACINGTYPE_EXACT + TEXTPATH_SPACINGTYPE_UNKNOWN + TEXT_NODE + TYPE_ERR + TYPE_MISMATCH_ERR + Text + TextEvent + TypeError() + UIEvent + UNKNOWN_RULE + UNORDERED_NODE_ITERATOR_TYPE + UNORDERED_NODE_SNAPSHOT_TYPE + UNSPECIFIED_EVENT_TYPE_ERR + URIError() + URL + URLUnencoded + VALIDATION_ERR + VERTICAL + WRONG_DOCUMENT_ERR + WheelEvent + XMLDocument + XMLHttpRequest + XMLHttpRequest() + XMLHttpRequestException + XMLSerializer + XMLSerializer() + XPCNativeWrapper() + XPCSafeJSObjectWrapper() + XPathEvaluator + XPathEvaluator() + XPathException + XPathResult + XSLTProcessor + XSLTProcessor() + abort() + accelerator + acceptNode() + accessKey + activeElement + add() + addBinding() + addEventListener() + addEventSource() + addEventStream() + addmodule() + adoptNode() + alert() + alinkColor + all + anchors + appCodeName + appMinorVersion + appName + appVersion + appendChild() + appendController() + appendData() + appendMedium() + applets + applicationCache + assign() + atob() + atomic + attachEvent() + attributes + availHeight + availLeft + availTop + availWidth + back() + background + backgroundAttachment + backgroundColor + backgroundImage + backgroundPosition + backgroundPositionX + backgroundPositionY + backgroundRepeat + baseURI + behavior + behaviorUrns + bgColor + blur() + body + border + borderBottom + borderBottomColor + borderBottomStyle + borderBottomWidth + borderCollapse + borderColor + borderLeft + borderLeftColor + borderLeftStyle + borderLeftWidth + borderRight + borderRightColor + borderRightStyle + borderRightWidth + borderStyle + borderTop + borderTopColor + borderTopStyle + borderTopWidth + borderWidth + bottom + browserLanguage + btoa() + buildID + buildNumber() + canHaveChildren + canHaveHTML + captureEvents() + characterSet + charset + childNodes + children + className + clear + clear() + clearInterval() + clearParameters() + clearTimeout() + click() + clientHeight + clientInformation + clientLeft + clientTop + clientWidth + clip + clipboardData + cloneNode() + close() + closed + collect() + color + colorDepth + compareDocumentPosition() + compatMode + confirm() + connect() + console + constructor() + contains() + content + contentEditable + contentType + controllers + convertToSpecifiedUnits() + cookie + cookieEnabled + cpuClass + createAttribute() + createAttributeNS() + createCDATASection() + createCSSStyleSheet() + createCaption() + createComment() + createDocument() + createDocumentFragment() + createDocumentType() + createElement() + createElementNS() + createEntityReference() + createEvent() + createExpression() + createHTMLDocument() + createHTTPRequest() + createLSInput() + createLSOutput() + createLSParser() + createLSSerializer() + createNSResolver() + createNodeIterator() + createProcessingInstruction() + createRange() + createTFoot() + createTHead() + createTextNode() + createTreeWalker() + crypto + cssText + current + currentStyle + cursor + data + defaultCharset + defaultStatus + defaultView + defaultstatus + defineMagicFunction() + defineMagicVariable() + deleteCaption() + deleteCell() + deleteData() + deleteMedium() + deleteRow() + deleteRule() + deleteTFoot() + deleteTHead() + deletemodule() + description + designMode + detachEvent() + devicePixelRatio + dir + direction + directories + disableExternalCapture() + disableRightClick() + disabled + disconnect() + dispatchEvent() + display + doctype + document + documentElement + documentURI + document["frames[object WindowCollection]"] + domConfig + domain + dump() + elementFromPoint() + embeds + enableExternalCapture() + enableSmartCardEvents + enableStyleSheetsForSet() + entities + error() + evaluate() + event + execCommand() + execCommandShowHelp() + external + fgColor + fileCreatedDate + fileModifiedDate + fileSize + fileUpdatedDate + filename + filter + filters + find() + firstChild + focus() + font + fontFamily + fontSize + fontStyle + fontVariant + fontWeight + forms + forward() + frameElement + frames + fullScreen + generateCRMFRequest() + getAllResponseHeaders() + getAnonymousElementByAttribute() + getAnonymousNodes() + getAttribute() + getAttributeNS() + getAttributeNode() + getAttributeNodeNS() + getBindingParent() + getBoxObjectFor() + getCharNumAtPosition() + getComputedStyle() + getComputedTextLength() + getContext() + getControllerAt() + getControllerById() + getControllerCount() + getControllerForCommand() + getControllerId() + getCounterValue() + getElementById() + getElementsByClassName() + getElementsByName() + getElementsByTagName() + getElementsByTagNameNS() + getEndPositionOfChar() + getExtentOfChar() + getFeature() + getFloatValue() + getInterface() + getMatchedCSSRules() + getNamedItem() + getNamedItemNS() + getNumberOfChars() + getOverrideHistoryNavigationMode() + getOverrideStyle() + getParameter() + getPreference() + getPreferenceDefault() + getPresentationAttribute() + getPropertyCSSValue() + getPropertyPriority() + getPropertyShorthand() + getPropertyValue() + getRGBColorValue() + getRectValue() + getResponseHeader() + getRotationOfChar() + getSVGDocument() + getSelection() + getStartPositionOfChar() + getStringValue() + getSubStringLength() + getUserData() + globalStorage + go() + hasAttribute() + hasAttributeNS() + hasAttributes() + hasChildNodes() + hasExtension() + hasFeature() + hasFocus() + hash + height + hideFocus + history + home() + host + hostname + href + id + images + imeMode + implementation + importNode() + importStylesheet() + importUserCertificates() + info() + initEvent() + initKeyboardEvent() + initMouseEvent() + initMutationEvent() + initOverflowEvent() + initProgressEvent() + initTextEvent() + initUIEvent() + innerHTML + innerHeight + innerText + innerWidth + input + inputEncoding + insertAdjacentElement() + insertBefore() + insertCell() + insertControllerAt() + insertData() + insertRow() + insertRule() + internalSubset + isConnected() + isContentEditable + isDefaultNamespace() + isDisabled + isEqualNode() + isMultiLine + isPropertyImplicit() + isSameNode() + isSupported() + isTextEdit + item() + iterateNext() + java + javaEnabled() + lang + language + lastChild + lastMatch + lastModified + lastParen + lastStyleSheetSet + layoutFlow + layoutGrid + layoutGridChar + layoutGridLine + layoutGridMode + layoutGridType + left + leftContext + length + letterSpacing + lineBreak + lineHeight + linkColor + links + listStyle + listStyleImage + listStylePosition + listStyleType + load() + loadBindingDocument() + localName + location + locationbar + log() + logout() + lookupNamespaceURI() + lookupPrefix() + margin + marginBottom + marginLeft + marginRight + marginTop + maxHeight + maxWidth + media + menubar + mimeType + mimeTypes + minHeight + minWidth + moveBy() + moveFocusDown() + moveFocusLeft() + moveFocusRight() + moveFocusUp() + moveTo() + mozIsLocallyAvailable() + msInterpolationMode + multiline + name + nameProp + namedItem() + namespaceURI + namespaces + navigate() + navigationMode + navigator + netscape + newValueSpecifiedUnits() + new_object_name + nextSibling + nodeName + nodeType + nodeValue + normalize() + normalizeDocument() + notations + object_proto + offscreenBuffering + offsetHeight + offsetLeft + offsetParent + offsetTop + offsetWidth + onLine + onabort + onactivate + onafterprint + onafterupdate + onbeforeactivate + onbeforecopy + onbeforecut + onbeforedeactivate + onbeforeeditfocus + onbeforepaste + onbeforeprint + onbeforeunload + onbeforeupdate + onblur + oncellchange + onchange + onclick + oncontextmenu + oncontrolselect + oncopy + oncut + ondataavailable + ondatasetchanged + ondatasetcomplete + ondblclick + ondeactivate + ondrag + ondragend + ondragenter + ondragleave + ondragover + ondragstart + ondrop + onerror + onerrorupdate + onfilterchange + onfocus + onfocusin + onfocusout + onhelp + onkeydown + onkeypress + onkeyup + onlayoutcomplete + onload + onlosecapture + onmousedown + onmouseenter + onmouseleave + onmousemove + onmouseout + onmouseover + onmouseup + onmousewheel + onmove + onmoveend + onmovestart + onpage + onpaste + onpropertychange + onreadystatechange + onreset + onresize + onresizeend + onresizestart + onrowenter + onrowexit + onrowsdelete + onrowsinserted + onscroll + onsearch + onselect + onselectionchange + onselectstart + onstop + onsubmit + onunload + open() + openDatabase() + openDialog() + opener + opera + opsProfile + oscpu + outerHTML + outerHeight + outerText + outerWidth + overflow + overflowX + overflowY + overrideMimeType() + ownerDocument + padding + paddingBottom + paddingLeft + paddingRight + paddingTop + pageBreakAfter + pageBreakBefore + pageXOffset + pageYOffset + parent + parentElement + parentNode + parentTextEdit + parentWindow + parseFromString() + pathname + pause() + personalbar + pixelDepth + pkcs11 + platform + play() + plugins + plugins["0"] + plugins["1"] + plugins["2"] + plugins["3"] + popChallengeResponse() + port + posBottom + posHeight + posLeft + posRight + posTop + posWidth + position + postError() + postMessage() + preference() + preferredStyleSheetSet + preferredStylesheetSet + prefix + preventDefault() + previousSibling + print() + product + productSub + prompt() + protocol + prototype + publicId + queryCommandEnabled() + queryCommandIndeterm() + queryCommandState() + queryCommandSupported() + queryCommandText() + queryCommandValue() + querySelector() + querySelectorAll() + random() + readyState + recordNumber + referrer + refresh() + registerContentHandler() + registerProtocolHandler() + releaseEvents() + reload() + remove() + removeAttribute() + removeAttributeNS() + removeAttributeNode() + removeBinding() + removeChild() + removeController() + removeControllerAt() + removeEventListener() + removeEventSource() + removeEventStream() + removeNamedItem() + removeNamedItemNS() + removeParameter() + removeProperty() + renameNode() + replace() + replaceChild() + replaceData() + reset() + resizeBy() + resizeTo() + right + rightContext + routeEvent() + rubyAlign + rubyOverhang + rubyPosition + runtimeStyle + scopeName + screen + screenLeft + screenTop + screenX + screenY + scripts + scroll() + scrollBy() + scrollByLines() + scrollByPages() + scrollHeight + scrollIntoView() + scrollIntoViewIfNeeded() + scrollLeft + scrollMaxX + scrollMaxY + scrollTo() + scrollTop + scrollWidth + scrollX + scrollY + scrollbar3dLightColor + scrollbarArrowColor + scrollbarBaseColor + scrollbarDarkShadowColor + scrollbarFaceColor + scrollbarHighlightColor + scrollbarShadowColor + scrollbarTrackColor + scrollbars + search + security + securityPolicy + select() + selectNodes() + selectSingleNode() + selectSubString() + selectedStyleSheetSet + selectedStylesheetSet + selection + self + send() + serializeToString() + sessionStorage + setAttribute() + setAttributeNS() + setAttributeNode() + setAttributeNodeNS() + setColor() + setDocument() + setFloatValue() + setInterval() + setMatrix() + setNamedItem() + setNamedItemNS() + setOrientToAngle() + setOrientToAuto() + setOverrideHistoryNavigationMode() + setPaint() + setParameter() + setPreference() + setProperty() + setRGBColor() + setRGBColorICCColor() + setRequestHeader() + setResizable() + setRotate() + setScale() + setSelectionRange() + setSkewX() + setSkewY() + setStringValue() + setTimeout() + setTranslate() + setUri() + setUserData() + showModalDialog() + signText() + sizeToContent() + snapshotItem() + sourceIndex + splitText() + start() + status + statusbar + stop() + stopPropagation() + strictErrorChecking + style + styleFloat + styleSheetSets + styleSheets + submit() + substringData() + sun + systemId + systemLanguage + tabIndex + tableLayout + tagName + tagUrn + taintEnabled() + text + textAlign + textAlignLast + textAutospace + textContent + textDecoration + textDecorationBlink + textDecorationLineThrough + textDecorationNone + textDecorationOverline + textDecorationUnderline + textIndent + textJustify + textJustifyTrim + textKashida + textKashidaSpace + textOverflow + textTransform + textUnderlinePosition + title + toString() + toolbar + top + transformToDocument() + transformToFragment() + unicodeBidi + updateCommands() + userAgent + userLanguage + userProfile + valueOf() + vendor + vendorSub + version + version() + verticalAlign + visibility + visible + vlinkColor + warn() + whiteSpace + width + window + wordBreak + wordSpacing + wordWrap + write() + writeln() + writingMode + xmlEncoding + xmlStandalone + xmlVersion + zIndex + zoom + + shellVariables + + + name + TM_COMPLETIONS_FILES + value + "completions.json" "Array.instance.completions.json" "org.quirksmode.dom.w3c_core.completions.json" "org.quirksmode.dom.w3c_html.completions.json" "org.quirksmode.dom.w3c_css.completions.json" "org.quirksmode.dom.w3c_cssom.completions.json" "org.quirksmode.dom.w3c_events.completions.json" "org.quirksmode.dom.events.completions.json" + + + + uuid + CB7ACED9-DA02-4A85-A75B-D9D8527CF5C9 + + diff --git a/Support/Array.instance.completions.json b/Support/Array.instance.completions.json new file mode 100644 index 0000000..bd654c9 --- /dev/null +++ b/Support/Array.instance.completions.json @@ -0,0 +1,8 @@ +{ + "suggestions": [ + { "image":"Array", "display": "constructor", "match": "constructor", "tool_tip": "Specifies the function that creates an object's prototype." }, + { "image":"Array", "display": "index", "match": "index", "tool_tip": "This is pseudo-property of Array prototypes because it is not inherited by default. It is, in fact, only present in arrays created by regular expression matches. The property represents the zero-based index of the match in the string." }, + { "image":"Array", "display": "input", "match": "input", "tool_tip": "This property is only present in arrays created by regular expression matches. It reflects the original string against which the regular expression was matched." }, + { "image":"Array", "display": "length", "match": "length", "tool_tip": "Reflects the number of elements in an array." } + ] +} diff --git a/Support/completions.json b/Support/completions.json new file mode 100644 index 0000000..a27586d --- /dev/null +++ b/Support/completions.json @@ -0,0 +1,14 @@ +{ + "extra_chars": "_$", + "images": { + "String" : "String.png", + "RegExp" : "RegExp.png", + "Number" : "Number.png", + "Array" : "Array.png", + "Function": "Function.png", + "Object" : "Object.png", + "Node" : "Node.png", + "NodeList": "NodeList.png", + "mixed" : "mixed.png" + } +} diff --git a/Support/org.quirksmode.dom.events.completions.json b/Support/org.quirksmode.dom.events.completions.json new file mode 100644 index 0000000..7673886 --- /dev/null +++ b/Support/org.quirksmode.dom.events.completions.json @@ -0,0 +1,89 @@ +{"tool_tip_prefix":"