On Tue, Nov 04, 2003 at 11:33:03AM +0100, Lars Gullik Bjønnes wrote:
> Where what you "if (0)" reverts changes I just made.

Better?

Index: lyxfunc.C
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/lyxfunc.C,v
retrieving revision 1.532
diff -u -p -r1.532 lyxfunc.C
--- lyxfunc.C   4 Nov 2003 07:43:00 -0000       1.532
+++ lyxfunc.C   4 Nov 2003 10:52:08 -0000
@@ -882,11 +882,9 @@ void LyXFunc::dispatch(FuncRequest const
                view()->hideCursor();
 
 #if 1
-       {
-               Cursor cursor;
-               buildCursor(cursor, *view());
+       if (0) {
                DispatchResult result =
-                       cursor.dispatch(FuncRequest(func, view()));
+                       view()->cursor().dispatch(FuncRequest(func, view()));
 
                if (result.dispatched()) {
                        if (result.update()) {

buildCursor is not uses anymore, we would use view()->cursor() instead.

Andre'

Reply via email to