X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FBidi.h;h=dfa779ae4947d13a4d4f24c6de9a1c0f99e15b05;hb=ed2f6a85998c22eab8b1237c4361ae3900d58f6a;hp=a2b49b1fc11e0b1b8922222170e7d026651db748;hpb=fc6ce7cd08562fd7bab4427880b46390bb7d2f07;p=lyx.git diff --git a/src/Bidi.h b/src/Bidi.h index a2b49b1fc1..dfa779ae49 100644 --- a/src/Bidi.h +++ b/src/Bidi.h @@ -13,12 +13,14 @@ #define BIDI_H #include "support/types.h" + #include namespace lyx { class Buffer; +class Cursor; class Paragraph; class Row; class Font; @@ -65,6 +67,11 @@ private: pos_type end_; }; +/// 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