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