gecko-dev/editor
Masayuki Nakano 762db8b745 Bug 1691051 - Make edit action data which is being handled manage whether the editor was temporarily destroyed or not r=m_kato
The editing session is temporarily disabled when opening a document.  Then,
when the document is closed, the editing session is restored with same
`HTMLEditor` instance.  Therefore, initializing editor may occur during
an edit action is being handled.

Probably, this must not be used in normal webapps since mutation events are
used rarely.  So, I think that for avoiding further complicated things, we
should make editor won't accept new edit action handling after original
editing session ended.

This patch renames `AutoEditActionDataSetter::CanHandle()` to
`IsDataAvailable()` since it just checks whether the important resource is
available or not.  And makes new `CanHandle()` return `false` for
non-initializing edit actions if editing session has ended.

Differential Revision: https://phabricator.services.mozilla.com/D111241
2021-04-09 06:59:54 +00:00
..
composer Bug 1684173 - Add newline character at end of files when missing r=sylvestre,geckoview-reviewers,agi 2021-01-07 08:53:08 +00:00
docs Bug 1687167 - Move IME handling guide to source tree. r=masayuki DONTBUILD 2021-01-19 06:07:27 +00:00
libeditor Bug 1691051 - Make edit action data which is being handled manage whether the editor was temporarily destroyed or not r=m_kato 2021-04-09 06:59:54 +00:00
reftests Bug 1696378 - Fuzz other test annotation. 2021-03-05 02:41:03 +01:00
spellchecker Bug 1698786: part 4) Add some logging to `EditorSpellChecker`. r=masayuki 2021-03-18 09:33:22 +00:00
txmgr Bug 1683534 - Make `editor` buildable outside of `unified-build` environment. r=sg 2021-01-04 14:18:50 +00:00
AsyncSpellCheckTestHelper.jsm
moz.build Bug 1687167 - Move IME handling guide to source tree. r=masayuki DONTBUILD 2021-01-19 06:07:27 +00:00
nsIDocumentStateListener.idl
nsIEditActionListener.idl Bug 1656432 - part 3: Get rid of `nsIEditActionListener::WillDeleteSelection()` r=m_kato 2020-08-04 15:01:18 +00:00
nsIEditor.idl Bug 1692673 - Avoid enabling Cut/Copy menu commands in text editor context when there's no selection, unless a listener is present. r=masayuki 2021-03-12 16:34:42 +00:00
nsIEditorMailSupport.idl
nsIEditorObserver.idl
nsIEditorSpellCheck.idl Bug 1671764 - Part 1. Use ACString for dictionary language instead. r=masayuki 2020-12-14 03:01:05 +00:00
nsIHTMLAbsPosEditor.idl
nsIHTMLEditor.idl Bug 1623918 - part 2: Mark `nsINode::GetSelectionRootContent()` and its root callers as `MOZ_CAN_RUN_SCRIPT` as far as possible r=smaug 2020-10-09 02:37:47 +00:00
nsIHTMLInlineTableEditor.idl
nsIHTMLObjectResizer.idl
nsITableEditor.idl Bug 1671556 - part 2: Replace `nsITableEditor.getFirstSelectedCell()` and `nsITableEditor.getNextSelectedCell()` with `nsITableEditor.getSelectedCells()` r=m_kato 2020-10-24 04:12:38 +00:00