Olaf wrote:
> A quick search in the source showed me the method
> GetSelectionRegionRectAndScrollableView() on nsSelection isn't that
> what you want?

<sigh>

I searched for every keyword combination I could think of, but I don't
think I'd have ever found this method...

... and as Javier mentions, without a public interface it's not
directly usable. On the other hand I'll dig through the implementation
and see if I can't pull out sufficient code to do what I want.

Failing that it looks like I'll have to work out how to temporarily
wrap a selection in a <div> just to get the coordinates... I never
thought I'd miss the IE API :-)

Many thanks to both you and Javier for the comments!

John

usenetgroupie at gmail dot com

_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to