operator << for Cursor seems to not work

Jean-Marc Lasgouttes lasgouttes at lyx.org
Wed Jun 12 09:34:44 UTC 2024


Le 12/06/2024 à 10:53, Kornel Benko a écrit :
> Am Tue, 11 Jun 2024 16:37:37 +0200
> schrieb Jean-Marc Lasgouttes <lasgouttes at lyx.org>:
> 
>> Le 11/06/2024 à 16:41, Kornel Benko a écrit :
>>> Works now. But gives not the needed info.
>>> Result is e.g. "inset: 0x5604fff94be0 idx: 0 par: 3 pos: 0".
>>
>> Could you give me a concrete example I can test?
>>
>> JMarc
>>
> 
> I have no one now, because I replaced them all.
> 
> For instance
> 	LYXERR(Debug::FINDVERBOSE, "Stringifying with len=" << len
> 	<< " from cursor at pos: " << cur);
> is replaced with
> 	LYXERR(Debug::FINDVERBOSE, "Stringifying with len=" << len
> 	<< " from cursor at " << showPos(cur));

You know that these are DocIterator objects, right? In my testing, the 
output is shorter (as expected), but it works.

JMarc



More information about the lyx-devel mailing list