if (length > 0) { internalRedrawRange(selection.x, selection.y - selection.x, true); }
internalRedrawRange(selection.x, selection.y - selection.x, true);
void internalSetSelection(int start, int length, boolean sendEvent) {	int end = start + length;		if (selection.x != start || selection.y != end) {		clearSelection(sendEvent);		selectionAnchor = selection.x = start;		caretOffset = selection.y = end;		caretLine = content.getLineAtOffset(caretOffset);		if (length > 0) {			internalRedrawRange(selection.x, selection.y - selection.x, true);		}	}}