selection.
svn path=/trunk/mcs/; revision=69765
- when calculating alignments we might have wrapped down to the
next line, so don't search for an individual tag, search for the
end of the line
+ - We need to invalidate the selection area when we replace the
+ selection.
2006-12-19 Daniel Nauck <dna@mono-project.de>
undo.BeginCompoundAction ();
+ InvalidateSelectionArea ();
+
int selection_start_pos = LineTagToCharIndex (selection_start.line, selection_start.pos);
// First, delete any selected text
if ((selection_start.pos != selection_end.pos) || (selection_start.line != selection_end.line)) {