]> git.lyx.org Git - lyx.git/blobdiff - src/Cursor.h
Fulfill promise to Andre: TextClass_ptr --> TextClassPtr.
[lyx.git] / src / Cursor.h
index c56538a2df84148e8c6506c2fe08d8f1359f823e..27f2174d3c4dafade8277518d98e9a0121423ba8 100644 (file)
@@ -14,6 +14,7 @@
 
 #include "DispatchResult.h"
 #include "DocIterator.h"
+#include "Font.h"
 
 #include <iosfwd>
 #include <vector>
@@ -25,7 +26,6 @@ class Buffer;
 class BufferView;
 class FuncStatus;
 class FuncRequest;
-class Font;
 class Row;
 
 // these should go
@@ -61,6 +61,9 @@ public:
        /// sets cursor part
        void setCursor(DocIterator const & it);
 
+       ///
+       void setCurrentFont();
+
        //
        // selection
        //
@@ -230,6 +233,13 @@ private:
        /// position before dispatch started
        DocIterator beforeDispatchCursor_;
 
+// FIXME: make them private.
+public:
+       /// the current font settings
+       Font current_font;
+       /// the current font
+       Font real_current_font;
+
 private:
 
        //