> > And then continuous update on each buffer change.
> >   
> 
> I tried that on linux and it is bearable but crashy... This is on a 2 
> year old laptop running Ubuntu 9.10.

Isn't that bad on Linux with attached patch. We have to drop updates
when the update is still busy.

> 
> On Windows, forget about it, Miktex is just too slow, incredibly slow 
> compared to Linux.



Index: src/frontends/qt4/GuiView.cpp
===================================================================
--- src/frontends/qt4/GuiView.cpp	(Revision 32608)
+++ src/frontends/qt4/GuiView.cpp	(Arbeitskopie)
@@ -273,7 +273,7 @@
 	void setPreviewFuture(QFuture<docstring> const & f)
 	{
 		if (preview_watcher_.isRunning())
-			preview_watcher_.waitForFinished();
+                        return;
 		preview_watcher_.setFuture(f);
 		connect(&preview_watcher_, SIGNAL(finished()), gv_,
 			SLOT(threadFinished()));
Index: src/frontends/qt4/GuiWorkArea.cpp
===================================================================
--- src/frontends/qt4/GuiWorkArea.cpp	(Revision 32608)
+++ src/frontends/qt4/GuiWorkArea.cpp	(Arbeitskopie)
@@ -456,6 +456,7 @@
 	// the cursor gets restarted in GuiView::restartCursor()
 	stopBlinkingCursor();
 	guiApp->processKeySym(key, mod);
+        lyx_view_->dispatch(FuncRequest(LFUN_BUFFER_UPDATE, "dvi"));
 }
 
 

Reply via email to