Exception thrown in KHTMLPart::selection()
John Tapsell
john at geola.co.uk
Wed Jan 19 14:22:01 GMT 2005
I don't know. It doesn't crash when I try lots of things. just crashes
occasionally. Is there a way to at least check if this is going to fail?
I'd rather do nothing then have it crash at least:
} else if(!n->renderer()->isReplaced() && !n->renderer()->isBR()) {
r.setEnd( d->m_selectionEnd, d->m_endOffset );
That causes the exception INDEX_SIZE_ERR
Btw, I'm on the list, no need to CC
JohnFlux
On Tuesday 18 January 2005 19:28, Jason Keirstead wrote:
> On Tuesday 18 January 2005 3:22 pm, John Tapsell wrote:
> > This is causing an exception (INDEX_SIZE_ERR). I can only reproduce this
> > bug in kopete. I think it's when you have something selected then
> > someone sends you a message so that it changes.
>
> How could appending a DOM node change the selection?
More information about the kfm-devel
mailing list