commit a5ce35cdbd98aa9ae9f878178d58710606695e71
Author: Jean-Marc Lasgouttes <[email protected]>
Date: Sat Jul 19 20:39:28 2025 +0200
Cleanup Row.h header
Move some members and remove empty constructor.
No intended change.
---
src/Row.h | 20 +++++++++-----------
1 file changed, 9 insertions(+), 11 deletions(-)
diff --git a/src/Row.h b/src/Row.h
index c38286dd80..426f4a6643 100644
--- a/src/Row.h
+++ b/src/Row.h
@@ -169,9 +169,6 @@ public:
///
typedef Element value_type;
- ///
- Row() {}
-
/**
* Helper function: set variable \c var to value \c val, and mark
* row as changed is the values were different. This is intended
@@ -255,6 +252,15 @@ public:
///
Dimension & contents_dim() { return contents_dim_; }
+ ///
+ bool isRTL() const { return rtl_; }
+ ///
+ void setRTL(bool rtl) { rtl_ = rtl; }
+ ///
+ bool needsChangeBar() const { return changebar_; }
+ ///
+ void needsChangeBar(bool ncb) { changebar_ = ncb; }
+
/// The offset of the left-most cursor position on the row
int left_x() const;
/// The offset of the right-most cursor position on the row
@@ -343,14 +349,6 @@ public:
* This should be called once the row is completely built.
*/
void reverseRTL();
- ///
- bool isRTL() const { return rtl_; }
- ///
- void setRTL(bool rtl) { rtl_ = rtl; }
- ///
- bool needsChangeBar() const { return changebar_; }
- ///
- void needsChangeBar(bool ncb) { changebar_ = ncb; }
/// Find row element that contains \c pos.
const_iterator const findElement(pos_type pos, bool boundary) const;
--
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs