Closed
Bug 519974
Opened 15 years ago
Closed 14 years ago
When we use IME, ASSERTION is printed at each key input (ASSERTION: nsEditor doesn't support wide caret: 'selectionStart == selectionEnd', editor/libeditor/base/IMETextTxn.cpp line 322
Categories
(Core :: Widget: Cocoa, defect)
Tracking
()
RESOLVED
FIXED
mozilla2.0b1
People
(Reporter: masayuki, Assigned: masayuki)
References
Details
(Keywords: assertion, inputmethod, intl)
Attachments
(1 file, 2 obsolete files)
1.16 KB,
patch
|
masayuki
:
review+
|
Details | Diff | Splinter Review |
ASSERTION: nsEditor doesn't support wide caret: 'selectionStart == selectionEnd', editor/libeditor/base/IMETextTxn.cpp line 322 is printed at every key typing with IME. I added the assertion in another bug. The assertion says that nsChildView send the wide caret setting by NS_TEXT_TEXT event. I'll fix this bug in bug 519972. Note that this bug doesn't break any functions. It is just a warning for the widget developers.
Assignee | ||
Updated•14 years ago
|
Keywords: inputmethod
Assignee | ||
Comment 1•14 years ago
|
||
I'll fix this bug soon.
Assignee | ||
Comment 2•14 years ago
|
||
The caret end position must be same as its start position on Mac.
Attachment #452638 -
Flags: review?(smichaud)
Assignee | ||
Comment 3•14 years ago
|
||
sorry for the spam.
Attachment #452638 -
Attachment is obsolete: true
Attachment #452640 -
Flags: review?(smichaud)
Attachment #452638 -
Flags: review?(smichaud)
Comment 4•14 years ago
|
||
Comment on attachment 452640 [details] [diff] [review] Patch v1.0 This makes sense to me. I haven't tested it, but I assume it shouldn't cause any problems. Note that your change invalidates this comment: // Caret is indicator of insertion point, so mEndOffset = 0. So it should also be changed.
Attachment #452640 -
Flags: review?(smichaud) → review+
Assignee | ||
Comment 5•14 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/59a7a98a5a6b
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 6•14 years ago
|
||
Attachment #452640 -
Attachment is obsolete: true
Attachment #453298 -
Flags: review+
Assignee | ||
Updated•14 years ago
|
Target Milestone: --- → mozilla1.9.3a6
You need to log in
before you can comment on or make changes to this bug.
Description
•