open method

void open(
  1. String uri,
  2. String text
)

Records an opened document with its full content text.

Implementation

void open(String uri, String text) {
  _documents[uri] = text;
}