updateSelection abstract method

void updateSelection(
  1. Selection? selection
)

Updates the selection.

The editor will update selection area and toolbar area if the selection is not collapsed, otherwise, will update the cursor area.

Implementation

void updateSelection(Selection? selection);