2000-04-12 Lars Gullik Bjønnes <larsbj@lyx.org>
+ * src/text2.C (DeleteEmptyParagraphMechanism): small patch posted
+ to the list by Dekel.
+
* src/lyxfunc.C (Dispatch): make PARAGRAPH_SPACING compile with
strstream too.
&& old_cursor.par->IsLineSeparator(old_cursor.pos)
&& old_cursor.par->IsLineSeparator(old_cursor.pos - 1)) {
old_cursor.par->Erase(old_cursor.pos - 1);
- status = LyXText::NEED_MORE_REFRESH;
RedoParagraphs(old_cursor, old_cursor.par->Next());
// correct cursor
if (old_cursor.par == cursor.par &&
cursor.pos > old_cursor.pos) {
SetCursorIntern(cursor.par, cursor.pos - 1);
- }
+ } else
+ SetCursorIntern(cursor.par, cursor.pos);
return;
}
}