Closed Bug 497511 Opened 16 years ago Closed 9 years ago

Pasting text on a line clears misspelled words

Categories

(Core :: Spelling checker, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 336719

People

(Reporter: sylvain.pasche, Unassigned)

References

Details

(Keywords: regression, testcase)

This is a regression from bug 432225. STEPS TO REPRODUCE: - open http://www.mozilla.org/editor/midasdemo/ - type a few misspelled words in one line - copy some text to the clipboard - move the caret anywhere on the line except on the first or last position - paste the text ACTUAL RESULT: - all the words marked as spelling errors are not marked so any more EXPECTED RESULT: - existing misspellings shouldn't be affected by the paste Note: it also happens when you want to indent a line on Google Docs using the TAB key (doesn't work on midas because the default behavior is to move focus). I'm also getting two assertion failures with a debug build when this happens. WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80530004: file mozilla/extensions/spellcheck/src/mozInlineSpellChecker.cpp, line 203 WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80530004: file mozilla/extensions/spellcheck/src/mozInlineSpellChecker.cpp, line 792 0x80530004 is NS_ERROR_DOM_WRONG_DOCUMENT_ERR.
(In reply to comment #0) > I'm also getting two assertion failures with a debug build when this happens. > > WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80530004: file > mozilla/extensions/spellcheck/src/mozInlineSpellChecker.cpp, line 203 > WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80530004: file > mozilla/extensions/spellcheck/src/mozInlineSpellChecker.cpp, line 792 These are not assertions ;)
(In reply to comment #1) > These are not assertions ;) hmm, two consecutive assertions when they are fatal, yeah that doesn't seem right ;)
Blocks: 336719
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
No longer blocks: 336719
You need to log in before you can comment on or make changes to this bug.