Skip to main content

XMLUtils

Import :​

const XMLUtils = brackets.getModule("language/XMLUtils")

regexWhitespace : RegExp​

Regex to find whitespace

Kind: global variable

TOKEN_TAG : number​

Enum token tag

Kind: global constant

TOKEN_ATTR : number​

Enum token attribute

Kind: global constant

TOKEN_VALUE : number​

Enum token value

Kind: global constant

getTagInfo(editor, pos) ⇒ Object​

Return the tag info at a given position in the active editor

Kind: global function

ParamTypeDescription
editorEditorInstance of active editor
posObjectPosition of cursor in the editor

getValueQuery(tagInfo) ⇒ string​

Return the query text of a value.

Kind: global function
Returns: string - The query to use to matching hints.

ParamType
tagInfoObject