mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 13:31:49 +00:00
* src/Text2.cpp:
- fix wrong DEPM in ct mode (bug 3961). git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19884 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
7a05036849
commit
e606e5eacc
@ -1148,7 +1148,8 @@ bool Text::deleteEmptyParagraphMechanism(Cursor & cur,
|
|||||||
&& old.pos() < oldpar.size()
|
&& old.pos() < oldpar.size()
|
||||||
&& oldpar.isLineSeparator(old.pos())
|
&& oldpar.isLineSeparator(old.pos())
|
||||||
&& oldpar.isLineSeparator(old.pos() - 1)
|
&& oldpar.isLineSeparator(old.pos() - 1)
|
||||||
&& !oldpar.isDeleted(old.pos() - 1)) {
|
&& !oldpar.isDeleted(old.pos() - 1)
|
||||||
|
&& !oldpar.isDeleted(old.pos())) {
|
||||||
oldpar.eraseChar(old.pos() - 1, cur.buffer().params().trackChanges);
|
oldpar.eraseChar(old.pos() - 1, cur.buffer().params().trackChanges);
|
||||||
// FIXME: This will not work anymore when we have multiple views of the same buffer
|
// FIXME: This will not work anymore when we have multiple views of the same buffer
|
||||||
// In this case, we will have to correct also the cursors held by
|
// In this case, we will have to correct also the cursors held by
|
||||||
|
Loading…
Reference in New Issue
Block a user