- lyx::pos_type vis2log(lyx::pos_type pos) const;
- ///
- lyx::pos_type level(lyx::pos_type pos) const;
- ///
- bool inRange(lyx::pos_type pos) const;
- /// same_direction?
+ pos_type vis2log(pos_type pos) const;
+ /*
+ * The text direction at logical position \param pos.
+ * Possible values are
+ * 0: left-to-right text
+ * 1: right-to-left text
+ * 2: left-to-right text in right-to-left language (aka numbers)
+ */
+ pos_type level(pos_type pos) const;
+ /// Is logical position covered by this row?
+ bool inRange(pos_type pos) const;
+ /// Is the whole row in the same direction as the paragraph?