Sorry, I was wrong. That code is still needed.
Proper fix for #9602 is on its way.
This commit is contained in:
Enrico Forestieri 2015-06-08 00:38:10 +02:00
parent 6bd9f8856f
commit 541984e43e

View File

@ -1071,11 +1071,17 @@ void Text::dispatch(Cursor & cur, FuncRequest & cmd)
case LFUN_CHAR_DELETE_BACKWARD:
if (!cur.selection()) {
if (bv->getIntl().getTransManager().backspace()) {
bool par_boundary = cur.pos() == 0;
// Par boundary, full-screen update
if (cur.pos() == 0)
if (par_boundary)
singleParUpdate = false;
needsUpdate |= backspace(cur);
cur.resetAnchor();
if (par_boundary && cur.pos() > 0
&& cur.paragraph().isEnvSeparator(cur.pos() - 1)) {
needsUpdate |= backspace(cur);
cur.resetAnchor();
}
}
} else {
cutSelection(cur, true, false);