mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 02:28:35 +00:00
DEPM: do not strip explicitly leading spaces
For the local version of DEPM, only what was around old cursor should change For the global version, leading spaces are already handled.
This commit is contained in:
parent
1f1a1b0dc7
commit
aaab1ad65d
@ -941,13 +941,6 @@ bool Text::deleteEmptyParagraphMechanism(Cursor & cur,
|
||||
return true;
|
||||
}
|
||||
|
||||
if (oldpar.stripLeadingSpaces(trackChanges)) {
|
||||
need_anchor_change = true;
|
||||
// We return true here because the Paragraph contents changed and
|
||||
// we need a redraw before further action is processed.
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
@ -1005,8 +998,6 @@ void Text::deleteEmptyParagraphMechanism(pit_type first, pit_type last, bool tra
|
||||
--last;
|
||||
continue;
|
||||
}
|
||||
|
||||
par.stripLeadingSpaces(trackChanges);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user