]> git.lyx.org Git - lyx.git/blobdiff - src/Text.h
* Paragraph: erase unused some method and move some members to Paragraph::Private.
[lyx.git] / src / Text.h
index ba665b7f3bdc4667314701d61ab7c1e6d0fd11ca..f6883e8bd59da0658ea07b2c3abdeb015fcb419f 100644 (file)
 #ifndef TEXT_H
 #define TEXT_H
 
-#include "Bidi.h"
-#include "DispatchResult.h"
-#include "Font.h"
-#include "Layout.h"
-#include "lyxlayout_ptr_fwd.h"
 #include "ParagraphList.h"
 
-#include <iosfwd>
-
-
 namespace lyx {
 
 class Buffer;
@@ -32,11 +24,13 @@ class BufferView;
 class CursorSlice;
 class DocIterator;
 class ErrorList;
+class Font;
 class FuncRequest;
 class FuncStatus;
 class Inset;
 class Color_color;
 class Cursor;
+class Lexer;
 class PainterInfo;
 class Spacing;
 
@@ -75,7 +69,7 @@ public:
                Font const & font, bool toggleall = false);
 
        /// what you expect when pressing \<enter\> at cursor position
-       void breakParagraph(Cursor & cur, bool keep_layout = false);
+       void breakParagraph(Cursor & cur, bool inverse_logic = false);
 
        /// set layout over selection
        void setLayout(Buffer const & buffer, pit_type start, pit_type end,
@@ -169,16 +163,16 @@ public:
        ///
        void recUndo(Cursor & cur, pit_type first) const;
 
-       /// Move cursor one position left
+       /// Move cursor one position backwards
        /**
         * Returns true if an update is needed after the move.
         */
-       bool cursorLeft(Cursor & cur);
-       /// Move cursor one position right
+       bool cursorBackward(Cursor & cur);
+       /// Move cursor one position forward
        /**
         * Returns true if an update is needed after the move.
         */
-       bool cursorRight(Cursor & cur);
+       bool cursorForward(Cursor & cur);
        ///
        bool cursorLeftOneWord(Cursor & cur);
        ///
@@ -293,7 +287,7 @@ private:
        /// handle the case where bibitems were deleted
        bool handleBibitems(Cursor & cur);
        ///
-       void charInserted();
+       void charInserted(Cursor & cur);
        /// set 'number' font property
        void number(Cursor & cur);