data.MainSelection = new Selection (new DocumentLocation (data.Caret.Line, 0), new DocumentLocation (data.Caret.Line, 0));
108
data.MainSelection = new Selection (new DocumentLocation (data.Caret.Line, DocumentLocation.MinColumn), new DocumentLocation (data.Caret.Line, DocumentLocation.MinColumn));
109
109
}
110
110
}
111
111
129
129
int toOffset = (toLine < fromLine)? toSegment.Offset: toSegment.EndOffset;
130
130
data.ExtendSelectionTo (toOffset);
131
131
}
132
133
132
data.Caret.PreserveSelection = false;
134
133
}
135
134
137
136
{
138
137
data.Caret.PreserveSelection = true;
139
138
CaretMoveActions.ToDocumentEnd (data);
140
data.MainSelection = new Selection (new DocumentLocation (0, 0), data.Caret.Location);
139
data.MainSelection = new Selection (new DocumentLocation (DocumentLocation.MinLine, DocumentLocation.MinColumn), data.Caret.Location);