]> git.lyx.org Git - lyx.git/blobdiff - src/Bidi.h
Merge branch 'master' of git.lyx.org:lyx
[lyx.git] / src / Bidi.h
index 5c722a9b901bea8e4cb9cbe1becb8ff9fc03d226..dfa779ae4947d13a4d4f24c6de9a1c0f99e15b05 100644 (file)
 #define BIDI_H
 
 #include "support/types.h"
-#include "Cursor.h"
+
 #include <vector>
 
 
 namespace lyx {
 
 class Buffer;
+class Cursor;
 class Paragraph;
 class Row;
 class Font;
@@ -69,6 +70,9 @@ private:
 /// Should interpretation of the arrow keys be reversed?
 bool reverseDirectionNeeded(Cursor const & cur);
 
+/// Is current paragraph in RTL mode?
+bool isWithinRtlParagraph(Cursor const & cur);
+
 } // namespace lyx
 
 #endif // BIDI_H