]> git.lyx.org Git - lyx.git/blobdiff - src/bufferview_funcs.C
next step...
[lyx.git] / src / bufferview_funcs.C
index c65b91173560184c7e5d362bffce3c08d7625e62..b8f1b5eff9abbaad253efd262fd823c656548d03 100644 (file)
@@ -120,7 +120,11 @@ void roman(BufferView * bv)
 
 void styleReset(BufferView * bv)
 {
+#ifndef INHERIT_LANG
+       LyXFont font(LyXFont::ALL_INHERIT, ignore_language);
+#else 
        LyXFont font(LyXFont::ALL_INHERIT);
+#endif
        toggleAndShow(bv, font);
 }
 
@@ -194,6 +198,9 @@ string const currentState(BufferView * bv)
                                break;
                        }
                }
+#if 1
+               state << _(", Paragraph: ") << text->cursor.par()->id();
+#endif
        }
        return state.str().c_str();
 }