Class CssSyntaxSupport

class CssSyntaxSupport
  : SyntaxSupport

Properties

TypeNameDescription
content[get, set] Editable content
bool
supportsSmartIndents[get] Returns true if supports smart indent for that language
bool
supportsToggleBlockComment[get] Returns true if supports toggle block comment for that language
bool
supportsToggleLineComment[get] Returns true if supports toggle line comment for that language

Methods

NameDescription
applySmartIndent (op, source) Apply smart indent after edit operation, if needed
canToggleBlockComment (range) Returns true if can toggle block comments for specified text range
canToggleLineComment (range) Returns true if can toggle line comments for specified text range
findPairedBracket (p) Find paired bracket {} () [] for char at position p.
toggleBlockComment (range, source) Toggle block comments for specified text range
toggleLineComment (range, source) Toggle line comments for specified text range
updateHighlight (lines, props, startLine, endLine) Categorize characters in content by token types