From: Lars Gullik Bjønnes Date: Thu, 4 Sep 2003 13:00:12 +0000 (+0000) Subject: output paragraph position in state text X-Git-Tag: 1.6.10~16176 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=4f8690cc2189dd5e0f94f530a0274d16d03e0b3f;p=features.git output paragraph position in state text git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7661 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/po/POTFILES.in b/po/POTFILES.in index db0888f6ce..c877ff374b 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -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 diff --git a/src/ChangeLog b/src/ChangeLog index 61ba4a3f68..79d7f54bf7 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2003-09-04 Lars Gullik Bjønnes + + * bufferview_funcs.C (currentState): output paragraph position + 2003-09-04 Angus Leeming * 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 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a diff --git a/src/bufferview_funcs.C b/src/bufferview_funcs.C index 1742f69441..6dc8b3fff8 100644 --- a/src/bufferview_funcs.C +++ b/src/bufferview_funcs.C @@ -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());