extendSelectionsBy method

void extendSelectionsBy(
  1. SelectionExtender f, [
  2. Map? options
])

Applies the given function to all existing selections, and calls extendSelections on the result.

Implementation

void extendSelectionsBy(SelectionExtender f, [Map? options]) {
  callArgs('extendSelectionsBy', [
    (JsObject obj, int i) => f(Span.fromProxy(obj), i).toProxy(),
    options
  ]);
}