]> git.lyx.org Git - lyx.git/blobdiff - src/text2.C
LFUN_UNICODE_INSERT - unicode-insert
[lyx.git] / src / text2.C
index 3ab916a9c193cd0f937c7941d769ef30107363cb..cfb1a824b92c4e7d6c230e73002e16fc616dcd9f 100644 (file)
@@ -1262,7 +1262,7 @@ bool LyXText::deleteEmptyParagraphMechanism(LCursor & cur, LCursor & old)
                    && oldpar.isLineSeparator(old.pos())
                    && oldpar.isLineSeparator(old.pos() - 1)
                    && oldpar.lookupChange(old.pos() - 1).type != Change::DELETED) {
-                       oldpar.erase(old.pos() - 1, false); // do not track changes in DEPM
+                       oldpar.eraseChar(old.pos() - 1, false); // do not track changes in DEPM
 #ifdef WITH_WARNINGS
 #warning 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