containsTextSelection method

bool containsTextSelection()

Implementation

bool containsTextSelection() {
  return line.documentOffset <= textSelection.end && textSelection.start <= line.documentOffset + line.length - 1;
}