]> git.lyx.org Git - lyx.git/blobdiff - src/Text.h
* Only enter inset which return true on isActive(). This is the behavior in the curso...
[lyx.git] / src / Text.h
index a6d4a745e4ae8dff64f3d1aa7a488e8d8664bf69..5ab0864d7f9f7831116124210e058cded51ec039 100644 (file)
@@ -335,6 +335,13 @@ public:
        bool isRTL(Buffer const &, Paragraph const & par) const;
        /// is this position in the paragraph right-to-left?
        bool isRTL(Buffer const & buffer, CursorSlice const & sl, bool boundary) const;
+       /// is between pos-1 and pos an RTL<->LTR boundary?
+       bool isRTLBoundary(Buffer const & buffer, Paragraph const & par,
+         pos_type pos) const;
+       /// would be a RTL<->LTR boundary between pos and the given font?
+       bool isRTLBoundary(Buffer const & buffer, Paragraph const & par,
+         pos_type pos, Font const & font) const;
+
        ///
        bool checkAndActivateInset(Cursor & cur, bool front);
 
@@ -371,8 +378,6 @@ public:
        ///
        int background_color_;
 
-       ///
-       mutable Bidi bidi;
        ///
        ParagraphList pars_;