Creates a new BackgroundTokenizer
object.
Fires whenever the background tokeniziers between a range of rows are going to be updated.
Emits the 'update'
event. firstRow
and lastRow
are used to define the boundaries of the region to be updated.
The starting row region
The final row region
Returns the state of tokenization at the end of a row.
The row to get state at
Sets pretty long delay to prevent the tokenizer from interfering with the user
Sets a new document to associate with this object.
The new document to associate with
Sets a new tokenizer for this object.
The new tokenizer to use
Starts tokenizing at the row indicated.
The row to start at
Stops tokenizing.
Generated using TypeDoc
Tokenizes the current
Document
in the background, and caches the tokenized rows for future use.If a certain row is changed, everything below that row is re-tokenized.