isSelected method

bool isSelected(
  1. int selectionStart,
  2. int selectionEnd
)

Implementation

bool isSelected(int selectionStart, int selectionEnd) {
  return selectionEnd > scopeStart && selectionStart < scopeEnd;
}