A couple of Alfredo's bug fixes.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6828 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Angus Leeming 2003-04-17 08:07:07 +00:00
parent 31ccf710a5
commit b1bf0d92b3
4 changed files with 12 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2003-04-16 Alfredo Braunstein <abraunst@libero.it>
* bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
if they succeed. Act accordingly.
2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net> 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
* text2.C (setCharFont): adjust * text2.C (setCharFont): adjust

View File

@ -87,9 +87,9 @@ bool BufferList::quitWriteBuffer(Buffer * buf)
bool succeeded; bool succeeded;
if (buf->isUnnamed()) if (buf->isUnnamed())
succeeded = !WriteAs(current_view, buf); succeeded = WriteAs(current_view, buf);
else else
succeeded = !MenuWrite(current_view, buf); succeeded = MenuWrite(current_view, buf);
if (!succeeded) if (!succeeded)
return false; return false;

View File

@ -1,3 +1,7 @@
2003-04-16 Alfredo Braunstein <abraunst@libero.it>
* screen.C (redraw): added a missing call to updateRowPositions
2003-04-15 John Levon <levon@movementarian.org> 2003-04-15 John Levon <levon@movementarian.org>
* LyXView.C: toolbar flags changed * LyXView.C: toolbar flags changed

View File

@ -360,6 +360,7 @@ void LyXScreen::redraw(LyXText * text, BufferView * bv)
workarea().getPainter().start(); workarea().getPainter().start();
text->updateRowPositions();
drawFromTo(text, bv, 0, workarea().workHeight(), 0, 0); drawFromTo(text, bv, 0, workarea().workHeight(), 0, 0);
expose(0, 0, workarea().workWidth(), workarea().workHeight()); expose(0, 0, workarea().workWidth(), workarea().workHeight());