X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FBidi.h;h=dfa779ae4947d13a4d4f24c6de9a1c0f99e15b05;hb=4d5bef1bdcbe7a20d67613a793acb89f0e583bf6;hp=5c722a9b901bea8e4cb9cbe1becb8ff9fc03d226;hpb=55a26d72d446be48188b26fa494d5fe2b24437f4;p=lyx.git diff --git a/src/Bidi.h b/src/Bidi.h index 5c722a9b90..dfa779ae49 100644 --- a/src/Bidi.h +++ b/src/Bidi.h @@ -13,13 +13,14 @@ #define BIDI_H #include "support/types.h" -#include "Cursor.h" + #include 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