Closed Bug 544774 Opened 15 years ago Closed 11 years ago

[TSF] Implement a pseudo editor class between nsTextStore and XP code

Categories

(Core :: Widget: Win32, defect)

x86
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla22

People

(Reporter: masayuki, Assigned: masayuki)

References

Details

(Keywords: inputmethod)

We need a pseudo editor class between nsTextStore and XP code. That should cache the text contents of focused editor when we grant to lock document. By this class, the actual content modification by JS cannot affect the locked content.
Probably, this isn't necessary.

I've probably misunderstood the document lock model of TSF.

Basically, a modification during composition should be done while one RequestLock() is called. So, we should store the edit action without dispatching any DOM events. Then, it returns from OnLockGranted(). At this time, we should dispatch DOM events needed by the modification.

Anyway, I think that we need to fix bug 544778. Then, I think that we can mark this bug as INVA.
This was fixed by bug 790516.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla22
You need to log in before you can comment on or make changes to this bug.