On Tue, Jan 06, 2026 at 11:22:52AM +0100, Kornel Benko wrote:
> Am Tue, 6 Jan 2026 01:08:59 +0100
> schrieb Scott Kostyshak <[email protected]>:
> 
> > On Tue, Dec 30, 2025 at 01:41:05PM +0000, Koji Yokota wrote:
> > > 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;  
> > 
> > If I just open LyX and start a new document I get the following terminal
> > output:
> > 
> >   Cursor.cpp (2424): cursor position = 0 sl address = 0x5bc46b0d29e0 sl 
> > empty? 0
> >   Cursor.cpp (2424): cursor position = 0 sl address = 0x5bc46b0d29e0 sl 
> > empty? 0
> > 
> > Can others reproduce?
> > 
> > Scott
> 
> Same here.

Koji can you take a look? I think the message is triggered when it's not 
intended?

Thanks,
Scott

Attachment: signature.asc
Description: PGP signature

-- 
lyx-devel mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to