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

RESOLVED FIXED in M6

Status

()

Core
Internationalization
P3
normal
RESOLVED FIXED
18 years ago
18 years ago

People

(Reporter: tague, Assigned: Simon Fraser)

Tracking

Trunk
PowerPC
Windows NT
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

18 years ago
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.

Updated

18 years ago
Target Milestone: M5

Comment 1

18 years ago
Blocker for M5 IME deliverable.
(Assignee)

Updated

18 years ago
Status: NEW → ASSIGNED
(Assignee)

Comment 2

18 years ago
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.
(Assignee)

Updated

18 years ago
Target Milestone: M5 → M6
(Assignee)

Comment 3

18 years ago
Talking to tague, can move this to M6.
(Assignee)

Updated

18 years ago
Status: ASSIGNED → RESOLVED
Last Resolved: 18 years ago
Resolution: --- → FIXED
(Assignee)

Comment 4

18 years ago
This is done (but untested). Get the caret from the pres shell, and call
nsCaret::GetWindowRelativeCoordinates.

Updated

18 years ago
QA Contact: teruko → tague
You need to log in before you can comment on or make changes to this bug.