X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FBidi.h;h=2fdb3abad341c249e083b2450fd16510c94b778d;hb=cadae068974fb25e97c5b2c38774a73ee23e92fc;hp=a2b49b1fc11e0b1b8922222170e7d026651db748;hpb=fc6ce7cd08562fd7bab4427880b46390bb7d2f07;p=lyx.git diff --git a/src/Bidi.h b/src/Bidi.h index a2b49b1fc1..2fdb3abad3 100644 --- a/src/Bidi.h +++ b/src/Bidi.h @@ -13,6 +13,7 @@ #define BIDI_H #include "support/types.h" +#include "Cursor.h" #include @@ -65,6 +66,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