Closed Bug 4827 Opened 26 years ago Closed 25 years ago

Need API for determining the global coordinate position of the insertion point

Categories

(Core :: Internationalization, defect, P3)

PowerPC
Windows NT
defect

Tracking

()

RESOLVED FIXED

People

(Reporter: tague, Assigned: sfraser_bugs)

Details

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.
Target Milestone: M5
Blocker for M5 IME deliverable.
Status: NEW → ASSIGNED
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.
Target Milestone: M5 → M6
Talking to tague, can move this to M6.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
This is done (but untested). Get the caret from the pres shell, and call nsCaret::GetWindowRelativeCoordinates.
QA Contact: teruko → tague
You need to log in before you can comment on or make changes to this bug.