redoParagraphs(beg, end);
setCursorIntern(0, 0);
- anchor() = cursor();
+ bv()->resetAnchor();
updateCounters();
}
if (implicitSelection) {
clearSelection();
cursor() = resetCursor;
- anchor() = cursor();
+ bv()->resetAnchor();
}
}
// Reset cursors to their original position.
cursor() = reset_cursor;
- anchor() = cursor();
+ bv()->resetAnchor();
// Clear the implicit selection.
if (implicitSelection)
clearSelection();
- anchor() = cursor();
+ bv()->resetAnchor();
setCursor(ppp.first, ppp.second);
setSelection();
updateCounters();
if (!length)
return;
- anchor() = cursor();
+ bv()->resetAnchor();
while (length--)
cursorRight(true);
setSelection();
bv()->buffer()->insertStringAsLines(pit, pos, current_font, str);
redoParagraphs(cursorPar(), endpit);
- anchor() = cursor();
+ bv()->resetAnchor();
setCursor(pit, pos);
setSelection();
}
if (selection_position_was_oldcursor_position) {
// correct selection
- anchor() = cursor();
+ bv()->resetAnchor();
}
}
if (old_pit->stripLeadingSpaces()) {
redoParagraph(old_pit);
- anchor() = cursor();
+ bv()->resetAnchor();
}
return false;
}