LspDocumentStore class

In-memory synchronized text buffer of active open documents in the editor.

Constructors

LspDocumentStore()

Properties

hashCode → int
The hash code for this object.
no setterinherited
openUris → Iterable<String>
All currently open document URIs.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

clear() → void
Clears all tracked document buffers.
close(String uri) → void
Removes a closed document from active tracking.
get(String uri) → String?
Retrieves the current text content for uri, or null if not open.
isOpen(String uri) → bool
Checks if uri is currently open.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
open(String uri, String text) → void
Records an opened document with its full content text.
toString() → String
A string representation of this object.
inherited
update(String uri, String text) → void
Updates the content text of a document.

Operators

operator ==(Object other) → bool
The equality operator.
inherited