#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;
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;
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,
///
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);
///
/// 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);