Fix for setSelection( htmlDocument().createRange() )

Leo Savernik l.savernik at aon.at
Fri Nov 5 15:20:04 GMT 2004


Am Freitag, 5. November 2004 12:35 schrieb David Faure:
> I guess you meant you were against the change Marc suggested, but not
> against mine?

I only wanted to annotate that Marc's suggestion is more general. I. e. did 
you check what happens on the snippet

<html>
<div>bla</div>
</html>

when the Range is (<div>, 0)?

In this case, RenderCanvas::setSelection will select the whole div.

mfg
 Leo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20041105/fdda16b1/attachment.sig>


More information about the kfm-devel mailing list