mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 02:28:35 +00:00
Revert 6bd9f885
Sorry, I was wrong. That code is still needed. Proper fix for #9602 is on its way.
This commit is contained in:
parent
6bd9f8856f
commit
541984e43e
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user