commit 08aa858dad9dc76c64fdb92c3d07848c1105849f
Author: Koji Yokota <[email protected]>
Date: Tue Dec 30 22:44:44 2025 +0900
Inserting a debug message for a possible bug
---
src/Cursor.cpp | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/Cursor.cpp b/src/Cursor.cpp
index b5daf9c860..5989c09586 100644
--- a/src/Cursor.cpp
+++ b/src/Cursor.cpp
@@ -2419,6 +2419,9 @@ Font Cursor::getFont() const
// on boundary, so we are really at the character before
pos_type pos = sl.pos();
+ // the error message below is temporary for a possible bug around pos
value
+ LYXERR(Debug::DEBUG, "cursor position = " << pos << " sl address = " <<
+ &sl << " sl empty? " << sl.empty());
if (pos > 0 && boundary())
--pos;
--
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs