mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
* LyXText::backspace(): redo paragraph rows. This is needed now because we don't do this automatically at each setCursor() call. More of this kind of fixes will probably come.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15882 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
dd0983e31c
commit
df2aea27c6
@ -1764,6 +1764,10 @@ bool LyXText::backspace(LCursor & cur)
|
||||
if (cur.pos() == cur.lastpos())
|
||||
setCurrentFont(cur);
|
||||
|
||||
// FIXME: back spacing have nothing to do with setting a cursor.
|
||||
// Because of the mix between the model (the paragraph contents) and the
|
||||
// view (the paragraph breaking in rows, we have to do this here.
|
||||
redoParagraph(cur.bv(), cur.pit());
|
||||
setCursor(cur, cur.pit(), cur.pos(), false, cur.boundary());
|
||||
|
||||
return needsUpdate;
|
||||
|
Loading…
Reference in New Issue
Block a user