]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/WorkArea.cpp
Make listings dialog translatable (mostly strings from InsetListingsParams), fix...
[lyx.git] / src / frontends / WorkArea.cpp
index 191a2179dc27dacd96d5ec74a09ae5d64c1a8eee..318c059169aaabc43ac8029f0e8cd3753a8d0e90 100644 (file)
 #include "debug.h"
 #include "Language.h"
 #include "Color.h"
-#include "LyXFont.h"
+#include "Font.h"
 #include "LyXRC.h"
 #include "Row.h"
-#include "LyXText.h"
+#include "Text.h"
 #include "LyXView.h"
 #include "MetricsInfo.h"
 #include "Paragraph.h"
@@ -280,8 +280,8 @@ void WorkArea::showCursor()
 
        CursorShape shape = BAR_SHAPE;
 
-       LyXText const & text = *buffer_view_->cursor().innerText();
-       LyXFont const & realfont = text.real_current_font;
+       Text const & text = *buffer_view_->cursor().innerText();
+       Font const & realfont = text.real_current_font;
        BufferParams const & bp = buffer_view_->buffer()->params();
        bool const samelang = realfont.language() == bp.language;
        bool const isrtl = realfont.isVisibleRightToLeft();
@@ -296,7 +296,7 @@ void WorkArea::showCursor()
        if (realfont.language() == latex_language)
                shape = BAR_SHAPE;
 
-       LyXFont const font = buffer_view_->cursor().getFont();
+       Font const font = buffer_view_->cursor().getFont();
        FontMetrics const & fm = theFontMetrics(font);
        int const asc = fm.maxAscent();
        int const des = fm.maxDescent();