boolean (boolean includeLineStart, boolean includeLineEnd) { return myStartOffset > myCaretData.caretRowStart && myStartOffset < myCaretData.caretRowEnd || includeLineStart && myStartOffset == myCaretData.caretRowStart || includeLineEnd && myStartOffset == myCaretData.caretRowEnd; }