Exception thrown in KHTMLPart::selection()

Jason Keirstead jason at keirstead.org
Wed Jan 19 18:06:42 GMT 2005


On Wednesday 19 January 2005 2:00 pm, John Tapsell wrote:
> Actually that function throws it under 3 other conditions.  I thought that
> too at first :)

No it doesn't. Those other conditions are only for specific DOM node types. 
Your node is a DOM Range node and thus none of those apply. 

The only possible causes for that exception in your case is passing a value < 
0, or if you are passing a value > the child count. Neither of which should 
be happening in reality, so something is wrong somewhere.

-- 
If you wait by the river long enough, eventually
you will see the bodies of all your enemies float by.
    - Sun Tzu




More information about the kfm-devel mailing list