#include "DispatchResult.h"
#include "DocIterator.h"
+#include "Font.h"
#include <iosfwd>
#include <vector>
class BufferView;
class FuncStatus;
class FuncRequest;
-class Font;
class Row;
// these should go
/// sets cursor part
void setCursor(DocIterator const & it);
+ ///
+ void setCurrentFont();
+
//
// selection
//
* Not using noUpdate() should never be wrong.
*/
void noUpdate();
- /// fix cursor in circumstances that should never happen
- void fixIfBroken();
+ /// fix cursor in circumstances that should never happen.
+ /// \retval true if a fix occured.
+ bool fixIfBroken();
/// output
friend std::ostream & operator<<(std::ostream & os, Cursor const & cur);
/// 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:
//