]> git.lyx.org Git - features.git/commitdiff
* help future developers reading my code and wondering what the heck I am doing here...
authorStefan Schimanski <sts@lyx.org>
Wed, 30 May 2007 07:30:17 +0000 (07:30 +0000)
committerStefan Schimanski <sts@lyx.org>
Wed, 30 May 2007 07:30:17 +0000 (07:30 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18578 a592a061-630c-0410-9148-cb99ea01b6c8

src/Text2.cpp

index d0b715f609ebf597f2adeb6ea0c551346098d12a..2773df6847cf537094ceaee245deb2c0a36e69f2 100644 (file)
@@ -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();