From 57294cd9c738c51823d3edbb8b1453585d4338d2 Mon Sep 17 00:00:00 2001 From: Stefan Schimanski Date: Wed, 30 May 2007 07:30:17 +0000 Subject: [PATCH] * help future developers reading my code and wondering what the heck I am doing here with all those variables git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18578 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/Text2.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Text2.cpp b/src/Text2.cpp index d0b715f609..2773df6847 100644 --- a/src/Text2.cpp +++ b/src/Text2.cpp @@ -992,6 +992,7 @@ bool Text::cursorLeft(Cursor & cur) // -> skip it, i.e. set boundary to true, i.e. go only logically left // there are some exceptions to ignore this: lineseps, newlines, spaces #if 0 + // some effectless debug code to see the values in the debugger bool bound = cur.boundary(); int rowpos = cur.textRow().pos(); int pos = cur.pos(); @@ -1040,6 +1041,7 @@ bool Text::cursorRight(Cursor & cur) // next position is left of boundary, // but go to next line for special cases like space, newline, linesep #if 0 + // some effectless debug code to see the values in the debugger int endpos = cur.textRow().endpos(); int lastpos = cur.lastpos(); int pos = cur.pos(); -- 2.39.2