#include "Color.h"
#include "LyXAction.h"
#include "Lexer.h"
-#include "LyXTextClass.h"
+#include "TextClass.h"
#include "MetricsInfo.h"
#include "ParagraphParameters.h"
#include "Paragraph.h"
switch (cmd.action) {
case LFUN_QUOTE_INSERT: {
- // We need to bypass the fancy quotes in LyXText
+ // We need to bypass the fancy quotes in Text
FuncRequest f(LFUN_SELF_INSERT, "\"");
dispatch(cur, f);
break;
BufferParams const & bp = cur.buffer().params();
Layout_ptr const layout =
- bp.getLyXTextClass().defaultLayout();
+ bp.getTextClass().defaultLayout();
Font font = layout->font;
// ERT contents has always latex_language
font.setLanguage(latex_language);