Re: Paragraph::stringify() vs asString(); Inset::toString() vs plaintext()

2014-03-27 Thread Tommaso Cucinotta
On 27/03/14 12:36, Tommaso Cucinotta wrote: > Ok, fantastic, I must have forgotten :-)! Indeed, it seems lyxfind.cpp is > the major caller. I'll try to > merge the functionality of the two methods, preserving the interface for > other callers. As a by product effect, I should be able to fix #7987,

Re: Paragraph::stringify() vs asString(); Inset::toString() vs plaintext()

2014-03-27 Thread Tommaso Cucinotta
On 27/03/14 10:53, Pavel Sanda wrote: > Vincent van Ravesteijn wrote: >> On Thu, Mar 27, 2014 at 11:41 AM, Pavel Sanda wrote: >> >>> Vincent van Ravesteijn wrote: Tommasso, I don't want to spoil the fun, but I think you introduced >>> >>> :)) >>> >> >> ... and Pavel committed it, so you migh

Re: Paragraph::stringify() vs asString(); Inset::toString() vs plaintext()

2014-03-27 Thread Pavel Sanda
Vincent van Ravesteijn wrote: > On Thu, Mar 27, 2014 at 11:41 AM, Pavel Sanda wrote: > > > Vincent van Ravesteijn wrote: > > > Tommasso, I don't want to spoil the fun, but I think you introduced > > > > :)) > > > > ... and Pavel committed it, so you might share some fun together. yes, i can re

Re: Paragraph::stringify() vs asString(); Inset::toString() vs plaintext()

2014-03-27 Thread Vincent van Ravesteijn
On Thu, Mar 27, 2014 at 11:41 AM, Pavel Sanda wrote: > Vincent van Ravesteijn wrote: > > Tommasso, I don't want to spoil the fun, but I think you introduced > > :)) > ... and Pavel committed it, so you might share some fun together. Vincent

Re: Paragraph::stringify() vs asString(); Inset::toString() vs plaintext()

2014-03-27 Thread Pavel Sanda
Vincent van Ravesteijn wrote: > Tommasso, I don't want to spoil the fun, but I think you introduced :))

Re: Paragraph::stringify() vs asString(); Inset::toString() vs plaintext()

2014-03-27 Thread Vincent van Ravesteijn
On Thu, Mar 27, 2014 at 10:29 AM, Jean-Marc Lasgouttes wrote: > Le 27/03/14 09:17, Tommaso Cucinotta a écrit : > > Anyone remembers what major difference among these two sets of methods, >> from Paragraph and Inset? >> >> Paragraph::stringify() and asString() look like almost identical, with >> t

Re: Paragraph::stringify() vs asString(); Inset::toString() vs plaintext()

2014-03-27 Thread Jean-Marc Lasgouttes
Le 27/03/14 09:17, Tommaso Cucinotta a écrit : Anyone remembers what major difference among these two sets of methods, from Paragraph and Inset? Paragraph::stringify() and asString() look like almost identical, with the difference that the former goes for Inset::plaintext(), and it doesn't det

Paragraph::stringify() vs asString(); Inset::toString() vs plaintext()

2014-03-27 Thread Tommaso Cucinotta
Anyone remembers what major difference among these two sets of methods, from Paragraph and Inset? Paragraph::stringify() and asString() look like almost identical, with the difference that the former goes for Inset::plaintext(), and it doesn't detect deleted text, the latter uses Inset::toStrin