>>>>> "Juergen" == Juergen Vigna <[EMAIL PROTECTED]> writes:

Juergen> Well but you don't know if it changed size while inside
Juergen> another buffer, do you? So when you're switching buffer you
Juergen> have to:

AFAIK, if you find a textcache with the right buffer and the right
width, you can use it right away. Or maybe I misunderstand something
(I told you I don't know this stuff).

Juergen> 2. Check the actual size with the saved size (which we
Juergen> actually don't have) and call resize only if really needed.

Isn't it what 
  bv_->text = textcache.findFit(buffer_, workarea_.workWidth());
does?

JMarc

Reply via email to