Change: ]After much digging, I found the KHTMLPart class which has a method called isPointInsideSelection that does basically the same thing. I ripped out the bits I didn't need and came up with the following C++ code:
id bridge = [webHTMLView _bridge];KWQKHTMLPart *part = [bridge part];DocumentImpl *impl
View changes from previous version.
(Word count: 2479)