in NodeImpl::getCaret() method incorrect renderer is used

Leo Savernik l.savernik at aon.at
Tue Sep 2 17:50:46 BST 2008


Am Montag, 1. September 2008 schrieb Maksim Orlovich:
> On Monday 01 September 2008 09:24:48 Leo Savernik wrote:
> > Am Sonntag, 31. August 2008 schrieb Vyacheslav Tokarev:
> > > I've been recently looking through xml/dom_nodeimp.cpp sources and I've
> > > noted the following error (should be porting error):
> > >
> > > void NodeImpl::getCaret(int offset, bool override, int &_x, int &_y,
> > > int &width, int &height)
> >
> > getCaret shouldn't be called anymore from anywhere. Is it actually
> > called?
>
> It's public via the C++ DOM.

Damn! Now I remember why it's there. It was for Quanta's VPL. Well, the 
current designmode implementation should provide better means to interact. As 
Node::getCaret is apparently broken, it can be marked deprecated.

mfg
	Leo





More information about the kfm-devel mailing list