onReplaceSelection method

bool onReplaceSelection(
  1. String character,
  2. FluentDocument document
)

Intercepts replacing active selection with text. Return true if handled.

Implementation

bool onReplaceSelection(String character, FluentDocument document) => false;