attachInput method

void attachInput(
  1. FluentDocument document
)

Attaches the IME connection to the given document.

Implementation

void attachInput(FluentDocument document) {
  _document = document;
  _lastSyncedFragmentId = '';
  _lastSyncedText = '';
  _prevSelectionKey = '';
}