Last Comment Bug 4827 - Need API for determining the global coordinate position of the insertion point
: Need API for determining the global coordinate position of the insertion point
Status: RESOLVED FIXED
:
Product: Core
Classification: Components
Component: Internationalization (show other bugs)
: Trunk
: PowerPC Windows NT
: P3 normal (vote)
: M6
Assigned To: Simon Fraser
: tague
:
Mentors:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 1999-04-08 18:49 PDT by tague
Modified: 1999-07-20 11:48 PDT (History)
0 users
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Attachments

Description tague 1999-04-08 18:49:39 PDT
Simon :-

I need the API for finding the caret position that we have been talking about
for M5.  Basically, just to recap, what I need is an API which will provide me
a mapping between the current carret and the global coordinate scheme of the
Mac.  You might want to look at bug #4826 and see if there is some way that we
can put together a more general API that will take care of all the
requirements.
Comment 1 bobj 1999-04-13 13:35:59 PDT
Blocker for M5 IME deliverable.
Comment 2 Simon Fraser 1999-04-26 18:24:59 PDT
tague: I need to know what result you expect for a couple of edge cases:
1. Selection is not collapsed (hence, no caret)
2. Selection is not in text nodes.
Comment 3 Simon Fraser 1999-04-27 14:51:59 PDT
Talking to tague, can move this to M6.
Comment 4 Simon Fraser 1999-05-18 15:25:59 PDT
This is done (but untested). Get the caret from the pres shell, and call
nsCaret::GetWindowRelativeCoordinates.

Note You need to log in before you can comment on or make changes to this bug.