Am Freitag 22 Mai 2009 schrieb Kornel Benko:
> The crazy thing is,  the autoconf-build is working here too. Now I have to
> search for compile-differences.

Now it is starting to be iritating. Inserting a debug output in LyXFunc.cpp to 
see the used row, it started to work.
The only relevant difference to autoconf-build is the optimize switch ("-O3" on 
cmake build vs. "-O" on autoconf build)

If we are doing some relevat things in more than 1 thread, this may be 
important.

Here the patch (in trunk)


Index: src/LyXFunc.cpp
===================================================================
--- src/LyXFunc.cpp	(revision 29788)
+++ src/LyXFunc.cpp	(working copy)
@@ -1110,6 +1110,7 @@
 			buf->updateLabels();
 			lyx_view_->setBuffer(buf);
 			view()->setCursorFromRow(row);
+			lyxerr << "Setting cursor from row " << row << endl;
 			if (loaded)
 				buf->errors("Parse");
 			updateFlags = Update::FitCursor;

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

Reply via email to