Ãsh, incomplete patch. Attached is better.

- Martin
Index: BufferView_pimpl.C
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/BufferView_pimpl.C,v
retrieving revision 1.581
diff -u -p -r1.581 BufferView_pimpl.C
--- BufferView_pimpl.C	20 Apr 2005 17:35:46 -0000	1.581
+++ BufferView_pimpl.C	6 May 2005 08:28:33 -0000
@@ -621,6 +621,7 @@ void BufferView::Pimpl::update(bool fitc
 
 		CoordCache backup;
 		std::swap(theCoords, backup);
+		lyxerr << "startUpdating" << endl;
 		theCoords.startUpdating();
 
 		ViewMetricsInfo vi = metrics();
@@ -631,6 +632,7 @@ void BufferView::Pimpl::update(bool fitc
 		}
 		if (forceupdate) {
 			// Second drawing step
+			lyxerr << "calling screen redraw" << endl;
 			screen().redraw(*bv_, vi);
 		} else {
 			// Abort updating of the coord cache - just restore the old one
Index: insets/insettabular.C
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/insets/insettabular.C,v
retrieving revision 1.464
diff -u -p -r1.464 insettabular.C
--- insets/insettabular.C	26 Apr 2005 11:12:19 -0000	1.464
+++ insets/insettabular.C	6 May 2005 08:28:33 -0000
@@ -268,6 +269,7 @@ void InsetTabular::metrics(MetricsInfo &
 
 void InsetTabular::draw(PainterInfo & pi, int x, int y) const
 {
+	lyxerr << "setposcache tabular" << endl;
 	setPosCache(pi, x, y);
 
 	//lyxerr << "InsetTabular::draw: " << x << " " << y << endl;
Index: insets/insettext.C
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/insets/insettext.C,v
retrieving revision 1.610
diff -u -p -r1.610 insettext.C
--- insets/insettext.C	3 Apr 2005 17:59:10 -0000	1.610
+++ insets/insettext.C	6 May 2005 08:30:23 -0000
@@ -189,6 +189,7 @@ void InsetText::draw(PainterInfo & pi, i
 {
 	BOOST_ASSERT(!text_.paragraphs().front().rows().empty());
 	// update our idea of where we are
+	lyxerr << "setposcache insettext" << endl;
 	setPosCache(pi, x, y);
 
 	BufferView * bv = pi.base.bv;
Index: frontends/screen.C
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/frontends/screen.C,v
retrieving revision 1.101
diff -u -p -r1.101 screen.C
--- frontends/screen.C	11 Feb 2005 18:07:06 -0000	1.101
+++ frontends/screen.C	6 May 2005 08:28:33 -0000
@@ -228,6 +228,7 @@ void LyXScreen::redraw(BufferView & bv, 
 	lyxerr[Debug::DEBUG] << "Redraw screen" << endl;
 	expose(0, 0, workarea().workWidth(), workarea().workHeight());
 	workarea().getPainter().end();
+	lyxerr << "doneUpdating" << endl;
 	theCoords.doneUpdating();
 	showCursor(bv);
 }

Attachment: signature.asc
Description: This is a digitally signed message part



Reply via email to