IncrementalTokenizer
Methods
Section titled “Methods”applyEdit()
Section titled “applyEdit()”applyEdit(
edit):TokenPatch
Parameters
Section titled “Parameters”Returns
Section titled “Returns”applyEdits()
Section titled “applyEdits()”applyEdits(
edits): readonlyTokenPatch[]
Parameters
Section titled “Parameters”readonly TextEdit[]
Returns
Section titled “Returns”readonly TokenPatch[]
getCode()
Section titled “getCode()”getCode():
string
Returns
Section titled “Returns”string
getSnapshot()
Section titled “getSnapshot()”getSnapshot():
IncrementalTokenizerSnapshot
Returns
Section titled “Returns”getTokens()
Section titled “getTokens()”getTokens(): readonly readonly
ThemedToken[][]
Returns
Section titled “Returns”readonly readonly ThemedToken[][]
inspectRetention()
Section titled “inspectRetention()”inspectRetention():
IncrementalTokenizerRetentionSnapshot
Returns
Section titled “Returns”IncrementalTokenizerRetentionSnapshot
reset()
Section titled “reset()”reset(
code?):TokenPatch
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”untokenizedLineCount()
Section titled “untokenizedLineCount()”untokenizedLineCount():
number
Lines of the current text left plain by the tokenization limit.
Returns
Section titled “Returns”number
update()
Section titled “update()”update(
code):TokenPatch
Parameters
Section titled “Parameters”string