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)
Core
DOM: Editor
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:
Reporter | ||
Updated•22 years ago
|
Summary: All editor entry points should be protected by nsAutoUpdateViewBtach → All editor entry points should be protected by nsAutoUpdateViewBtach
Updated•22 years ago
|
Summary: All editor entry points should be protected by nsAutoUpdateViewBtach → All editor entry points should be protected by nsAutoUpdateViewBatch
Reporter | ||
Comment 1•22 years ago
|
||
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.
Reporter | ||
Comment 2•22 years ago
|
||
since, current codes have done these functions.
so close it
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•