}
-#ifndef NO_LATEX
-void tex(BufferView * bv)
-{
- LyXFont font(LyXFont::ALL_IGNORE);
- font.setLatex (LyXFont::TOGGLE);
- toggleAndShow(bv, font);
-}
-#endif
-
-
// Change environment depth.
// if decInc >= 0, increment depth
// if decInc < 0, decrement depth
void styleReset(BufferView * bv)
{
+#ifndef INHERIT_LANG
+ LyXFont font(LyXFont::ALL_INHERIT, ignore_language);
+#else
LyXFont font(LyXFont::ALL_INHERIT);
+#endif
toggleAndShow(bv, font);
}
break;
}
}
+#if 1
+ state << _(", Paragraph: ") << text->cursor.par()->id();
+#endif
}
return state.str().c_str();
}
bv->update(text, BufferView::SELECT|BufferView::FITCUR|BufferView::CHANGE);
if (font.language() != ignore_language ||
-#ifndef NO_LATEX
- font.latex() != LyXFont::IGNORE ||
-#endif
font.number() != LyXFont::IGNORE)
{
LyXCursor & cursor = text->cursor;