commit 98c87d8157f1ccebe9f0546208d2af9b7b4c9dd4
Author: Koji Yokota <[email protected]>
Date:   Tue Dec 30 22:37:28 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..56e0563a34 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
+       LYXERR0("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

Reply via email to