Extracts the selected text from content lines.
lines
String getSelectedText(List<String> lines) { return extractSelectedText( lines, selectionStart: _selectionStart, selectionEnd: _selectionEnd, ); }