Andre Poenitz wrote:
On Fri, Oct 13, 2006 at 04:14:14PM +0200, Georg Baum wrote:
Abdelrazak Younes wrote:
My problem is that setXY() needs a BufferView with my change. So I just
commented out this call which, if I'm right is not useful because
drawT() is for text export and has nothing to do with painting on
screen. I guess this call to setXY was just copy&paste from the draw()
method.
I don't think so, see below.
Georg, you worked recently for the text export feature. Are you able to
confirm my findings?
AFAIK the text painter was used to export math formulas as ASCII art.
Therefore the setXY() call makes sense.
Or maybe not. The coordcahce is for up/down navigation and vconverting
mouseclicks to text positions. It is not for pure display/export which
is whatr drawT is about.
So maybe Abdel is right and it was a simple oversight not to remove it
after some copying from the 'real' draw() method.
So you reckon I can just delete the line?
Abdel.