mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-11 03:03:06 +00:00
Appendix redrawing
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6492 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
2431a4732a
commit
1d94e70166
@ -1,3 +1,7 @@
|
||||
2003-03-13 John Levon <levon@movementarian.org>
|
||||
|
||||
* text3.C: fix appendix redrawing
|
||||
|
||||
2003-03-13 John Levon <levon@movementarian.org>
|
||||
|
||||
* text.C (setHeightOfRow):
|
||||
|
@ -419,6 +419,8 @@ Inset::RESULT LyXText::dispatch(FuncRequest const & cmd)
|
||||
if (tmp->params().startOfAppendix()) {
|
||||
setUndo(bv, Undo::EDIT, tmp, tmp->next());
|
||||
tmp->params().startOfAppendix(false);
|
||||
int tmpy;
|
||||
setHeightOfRow(bv, getRow(tmp, 0, tmpy));
|
||||
break;
|
||||
}
|
||||
}
|
||||
@ -428,9 +430,10 @@ Inset::RESULT LyXText::dispatch(FuncRequest const & cmd)
|
||||
|
||||
// we can set the refreshing parameters now
|
||||
status(cmd.view(), LyXText::NEED_MORE_REFRESH);
|
||||
refresh_y = 0;
|
||||
refresh_row = 0; // not needed for full update
|
||||
updateCounters(cmd.view());
|
||||
redoHeightOfParagraph(bv, cursor);
|
||||
refresh_y = 0;
|
||||
refresh_row = 0;
|
||||
setCursor(cmd.view(), cursor.par(), cursor.pos());
|
||||
update(bv);
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user