]> git.lyx.org Git - features.git/commitdiff
output paragraph position in state text
authorLars Gullik Bjønnes <larsbj@gullik.org>
Thu, 4 Sep 2003 13:00:12 +0000 (13:00 +0000)
committerLars Gullik Bjønnes <larsbj@gullik.org>
Thu, 4 Sep 2003 13:00:12 +0000 (13:00 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7661 a592a061-630c-0410-9148-cb99ea01b6c8

po/POTFILES.in
src/ChangeLog
src/bufferview_funcs.C

index db0888f6ce3ffe6d334529f6182f00bc113b144e..c877ff374b1ad360f1805d67a35d099e25425026 100644 (file)
@@ -185,6 +185,7 @@ src/mathed/ref_inset.C
 src/paragraph.C
 src/paragraph_funcs.C
 src/rowpainter.C
+src/support/path_defines.C
 src/text.C
 src/text2.C
 src/text3.C
index 61ba4a3f6850592d4b67429cc01c20954aa2e5f3..79d7f54bf75831bafa1b434f7bef499b479c8099 100644 (file)
@@ -1,3 +1,7 @@
+2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
+
+       * bufferview_funcs.C (currentState): output paragraph position
+
 2003-09-04  Angus Leeming  <leeming@lyx.org>
 
        * FloatList.h: move out #include "Floating.h".
@@ -9,7 +13,7 @@
        * lyxfunc.h: move out #include "FuncStatus.h".
        * lyxtext: move out #include "lyxcursor.h".
        * paragraph_pimpl.h: move out #include "counters.h".
-        
+
 2003-09-03  Angus Leeming  <leeming@lyx.org>
 
        * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
index 1742f69441c020af5e37ae6eb58933d8388546aa..6dc8b3fff80fdc539dcdebc17850f05ff12068ef 100644 (file)
@@ -363,7 +363,8 @@ string const currentState(BufferView * bv)
        }
 #ifdef DEVEL_VERSION
        state << _(", Paragraph: ") << text->cursor.par()->id();
-       state << "  Inset: " <<
+       state << _(", Position: ") << text->cursor.pos();
+       state << _(", Inset: ") <<
                (text->cursor.par()->inInset() ? text->cursor.par()->inInset()->id() : -1);
 #endif
        return STRCONV(state.str());