Georg Baum wrote:
Abdelrazak Younes wrote:
OK, then, adding a BufferView to the TextPainter construction would make
sense. The problem is then that I'll have to add a BufferView argument
to InsetBase::plaintext() and that's a _lot_ of work. And I am not sure
it is right anyway.
I think it would be right if the text painter would be used.
But all other plantext() methods won't need it. And I reckon that those
methods are used, aren't they?
BTW I usually
write some scripts for things like this. I guess it would take me not more
than 30 minutes to modify all plaintext() methods.
I was exaggerating a bit. MSVC recursive search and replace works fine
and 30 minutes are usually what it take to do an API change.
Abdel.