Patch for text-overflow:ellipsis

Allan Sandfeld Jensen kde at carewolf.com
Sun Nov 12 15:59:40 GMT 2006


Hi

I've written/ported this patch for text-overflow: ellipsis, because i think 
it's a really neat feature.

I just have a few questions before committing:
1. Is is nodeAtPoint in render_line correct?
There seems to be various odd differences between the codebases.
2. offsetForPoint in InlineTextBox seems to sometimes return an offset and 
position of the letter after the point. I've subtracted one from the result 
to get a usefull position, but is this really how offsetForPoint should work?

Regards
`Allan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ellipsis.diff
Type: text/x-diff
Size: 25892 bytes
Desc: not available
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20061112/56e4de3c/attachment.diff>


More information about the kfm-devel mailing list