Closed Bug 195898 Opened 22 years ago Closed 22 years ago

All editor entry points should be protected by nsAutoUpdateViewBatch

Categories

(Core :: DOM: Editor, defect)

defect
Not set
normal

Tracking

()

VERIFIED FIXED

People

(Reporter: leon.zhang, Assigned: mozeditor)

References

(Blocks 1 open bug)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 to prevent caret flying around Reproducible: Always Steps to Reproduce:
Summary: All editor entry points should be protected by nsAutoUpdateViewBtach → All editor entry points should be protected by nsAutoUpdateViewBtach
Blocks: 35296
Blocks: 188318
Summary: All editor entry points should be protected by nsAutoUpdateViewBtach → All editor entry points should be protected by nsAutoUpdateViewBatch
The related functions include: insert/delete/undo/redo/cut/paste/drop of ensEditor/nsPlainTextEditor/nsHTMLEdior. 1) insert: This entry point has been protected by nsAutoPlaceHolderBatch(in nsHTMLEditor::TypedText) and nsEditor::InsertTextIntoTextNodeImpl, both of which embed function of nsAutoUpdateViewBatch 2) delete: This entry point has been protected by nsAutoPlaceHolderBatch(in nsPlaintextEditor::DeleteSelection) which embed function of nsAutoUpdateViewBatch 3) Paste: This entry point has been protected by nsAutoPlaceHolderBatch(nsHTMLEditor::InsertFromTransferable -> nsAutoEditBatch) and nsEditor::InsertTextIntoTextNodeImpl, both of which embed function of nsAutoUpdateViewBatch 4) Drop: This entry point has been protected by nsHTMLEditor::InsertFromDrop(->nsAutoEditBatch -> nsAutoPlaceHolderBatch) and nsEditor::InsertTextIntoTextNodeImpl,both of which embed function of nsAutoUpdateViewBatch. 5) Dndo/Redo: These two entry points have been protected by nsAutoUpdateViewBatch. btw,I traced and get info above using maileditor(html and plaintext format) and composer.
since, current codes have done these functions. so close it
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
rs vrfy.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.