gecko-dev/editor/libeditor
Masayuki Nakano 6122a660a0 Bug 1723125 - Ignore normal selection when updating composition string r=m_kato
Web apps can modify normal selection even during IME composition and no
browsers stop composition by it.  However, our editor tries to delete
non-collapsed selected range before updating composition.  Therefore,
we need additional state at handling inserting text whether selection
should be deleted or ignored.

Depends on D121371

Differential Revision: https://phabricator.services.mozilla.com/D121372
2021-08-02 08:23:50 +00:00
..
crashtests Bug 1722726 - Move Linux tsan tests to WebRender. r=jmaher 2021-07-30 12:23:36 +00:00
tests Bug 1722535 - Make `HTMLEditor` call `HTMLEditUtils::GetBetterInsertionPoint()` with an editing host which is not limited in the `<body>` r=m_kato 2021-08-02 08:23:49 +00:00
CSSEditUtils.cpp
CSSEditUtils.h
ChangeAttributeTransaction.cpp Bug 1697876 - part 1: Add logging code to transaction classes for making easier to debug r=m_kato 2021-04-05 11:35:48 +00:00
ChangeAttributeTransaction.h Bug 1697876 - part 1: Add logging code to transaction classes for making easier to debug r=m_kato 2021-04-05 11:35:48 +00:00
ChangeStyleTransaction.cpp Bug 1697876 - part 1: Add logging code to transaction classes for making easier to debug r=m_kato 2021-04-05 11:35:48 +00:00
ChangeStyleTransaction.h Bug 1697876 - part 1: Add logging code to transaction classes for making easier to debug r=m_kato 2021-04-05 11:35:48 +00:00
CompositionTransaction.cpp Bug 1714914 - Make editor classes treat offset in parent node as uint32_t r=m_kato 2021-06-30 07:07:28 +00:00
CompositionTransaction.h Bug 1697876 - part 1: Add logging code to transaction classes for making easier to debug r=m_kato 2021-04-05 11:35:48 +00:00
CreateElementTransaction.cpp Bug 1697876 - part 1: Add logging code to transaction classes for making easier to debug r=m_kato 2021-04-05 11:35:48 +00:00
CreateElementTransaction.h Bug 1697876 - part 1: Add logging code to transaction classes for making easier to debug r=m_kato 2021-04-05 11:35:48 +00:00
DeleteNodeTransaction.cpp Bug 1713334 - Part 1: Keep a text node inside text controls even if empty r=masayuki,Jamie 2021-06-18 00:36:53 +00:00
DeleteNodeTransaction.h Bug 1697876 - part 1: Add logging code to transaction classes for making easier to debug r=m_kato 2021-04-05 11:35:48 +00:00
DeleteRangeTransaction.cpp Bug 1714914 - Make editor classes treat offset in parent node as uint32_t r=m_kato 2021-06-30 07:07:28 +00:00
DeleteRangeTransaction.h
DeleteTextTransaction.cpp Bug 1697876 - part 1: Add logging code to transaction classes for making easier to debug r=m_kato 2021-04-05 11:35:48 +00:00
DeleteTextTransaction.h Bug 1697876 - part 1: Add logging code to transaction classes for making easier to debug r=m_kato 2021-04-05 11:35:48 +00:00
EditAction.h Bug 1701348 - Make `TextEditor::Init()` and `HTMLEditor::Init()` stop using `EditAction::eNotEditing` r=m_kato 2021-04-08 08:51:41 +00:00
EditActionListener.h
EditAggregateTransaction.cpp Bug 1697876 - part 1: Add logging code to transaction classes for making easier to debug r=m_kato 2021-04-05 11:35:48 +00:00
EditAggregateTransaction.h
EditTransactionBase.cpp Bug 1697876 - part 1: Add logging code to transaction classes for making easier to debug r=m_kato 2021-04-05 11:35:48 +00:00
EditTransactionBase.h Bug 1697876 - part 1: Add logging code to transaction classes for making easier to debug r=m_kato 2021-04-05 11:35:48 +00:00
EditorBase.cpp Bug 1723125 - Ignore normal selection when updating composition string r=m_kato 2021-08-02 08:23:50 +00:00
EditorBase.h Bug 1723125 - Ignore normal selection when updating composition string r=m_kato 2021-08-02 08:23:50 +00:00
EditorCommands.cpp Bug 1713756 - Make editor command classes treat `EditorBase` instead of `TextEditor` r=m_kato 2021-06-09 07:17:52 +00:00
EditorCommands.h Bug 1713756 - Make editor command classes treat `EditorBase` instead of `TextEditor` r=m_kato 2021-06-09 07:17:52 +00:00
EditorController.cpp
EditorController.h
EditorDOMPoint.h Bug 1714914 - Make editor classes treat offset in parent node as uint32_t r=m_kato 2021-06-30 07:07:28 +00:00
EditorEventListener.cpp Bug 1714914 - Make editor classes treat offset in parent node as uint32_t r=m_kato 2021-06-30 07:07:28 +00:00
EditorEventListener.h
EditorUtils.cpp Bug 1714914 - Make editor classes treat offset in parent node as uint32_t r=m_kato 2021-06-30 07:07:28 +00:00
EditorUtils.h Bug 1714914 - Make editor classes treat offset in parent node as uint32_t r=m_kato 2021-06-30 07:07:28 +00:00
HTMLAbsPositionEditor.cpp Bug 1717178 - part 3: Get rid of `nsIHTMLObjectResizer.refreshResizers()` because of unused r=m_kato 2021-06-28 12:08:49 +00:00
HTMLAnonymousNodeEditor.cpp
HTMLEditSubActionHandler.cpp Bug 1723125 - Ignore normal selection when updating composition string r=m_kato 2021-08-02 08:23:50 +00:00
HTMLEditUtils.cpp Bug 1627175 - part 59: Move `HTMLEditor::GetMostAncestorInlineElement()` to `HTMLEditUtils` r=m_kato 2021-05-17 21:58:10 +00:00
HTMLEditUtils.h Bug 1311934 - Replace `TextServicesDocument::IsBlockNode()` with `HTMLEditUtils::IsBlockElement()` r=m_kato 2021-07-19 23:11:25 +00:00
HTMLEditor.cpp Bug 1722535 - Make `HTMLEditor` call `HTMLEditUtils::GetBetterInsertionPoint()` with an editing host which is not limited in the `<body>` r=m_kato 2021-08-02 08:23:49 +00:00
HTMLEditor.h Bug 1723125 - Ignore normal selection when updating composition string r=m_kato 2021-08-02 08:23:50 +00:00
HTMLEditorCommands.cpp Bug 1714918 - Sort out editor class accessors of `nsIEditor` r=m_kato 2021-06-11 03:01:08 +00:00
HTMLEditorController.cpp
HTMLEditorController.h
HTMLEditorDataTransfer.cpp Bug 1723125 - Ignore normal selection when updating composition string r=m_kato 2021-08-02 08:23:50 +00:00
HTMLEditorDeleteHandler.cpp Bug 1716728 - Part 1: Use IsEmpty() instead of mPaddingBRElementForEmptyEditor existence check r=masayuki 2021-06-21 01:48:58 +00:00
HTMLEditorDocumentCommands.cpp Bug 1714918 - Sort out editor class accessors of `nsIEditor` r=m_kato 2021-06-11 03:01:08 +00:00
HTMLEditorEventListener.cpp Bug 1714914 - Make editor classes treat offset in parent node as uint32_t r=m_kato 2021-06-30 07:07:28 +00:00
HTMLEditorEventListener.h
HTMLEditorObjectResizer.cpp Bug 1717178 - part 3: Get rid of `nsIHTMLObjectResizer.refreshResizers()` because of unused r=m_kato 2021-06-28 12:08:49 +00:00
HTMLEditorState.cpp Bug 1627175 - part 38: Move `EditorBase::GetNextContent()` and `EditorBase::GetPreviousContent()` to `HTMLEditUtils` r=m_kato 2021-04-27 11:17:44 +00:00
HTMLInlineTableEditor.cpp Bug 1717178 - part 1: Get rid of `nsIHTMLInlineTableEditor.refreshInlineTableEditingUI()` because of unused r=m_kato 2021-06-28 12:08:49 +00:00
HTMLStyleEditor.cpp Bug 1714914 - Make editor classes treat offset in parent node as uint32_t r=m_kato 2021-06-30 07:07:28 +00:00
HTMLTableEditor.cpp Bug 1718815 - part 4: Move `EditorBase::AppendNodeToSelectionAsRange()` and `EditorBase::ClearSelection()` to `HTMLEditor` r=m_kato 2021-07-02 08:23:46 +00:00
InsertNodeTransaction.cpp Bug 1713334 - Part 1: Keep a text node inside text controls even if empty r=masayuki,Jamie 2021-06-18 00:36:53 +00:00
InsertNodeTransaction.h Bug 1697876 - part 1: Add logging code to transaction classes for making easier to debug r=m_kato 2021-04-05 11:35:48 +00:00
InsertTextTransaction.cpp Bug 1697876 - part 1: Add logging code to transaction classes for making easier to debug r=m_kato 2021-04-05 11:35:48 +00:00
InsertTextTransaction.h Bug 1697876 - part 1: Add logging code to transaction classes for making easier to debug r=m_kato 2021-04-05 11:35:48 +00:00
InternetCiter.cpp
InternetCiter.h
JoinNodeTransaction.cpp Bug 1697876 - part 1: Add logging code to transaction classes for making easier to debug r=m_kato 2021-04-05 11:35:48 +00:00
JoinNodeTransaction.h Bug 1697876 - part 1: Add logging code to transaction classes for making easier to debug r=m_kato 2021-04-05 11:35:48 +00:00
ManualNAC.h
PlaceholderTransaction.cpp Bug 1697876 - part 1: Add logging code to transaction classes for making easier to debug r=m_kato 2021-04-05 11:35:48 +00:00
PlaceholderTransaction.h
ReplaceTextTransaction.cpp Bug 1697876 - part 1: Add logging code to transaction classes for making easier to debug r=m_kato 2021-04-05 11:35:48 +00:00
ReplaceTextTransaction.h Bug 1697876 - part 1: Add logging code to transaction classes for making easier to debug r=m_kato 2021-04-05 11:35:48 +00:00
SelectionState.cpp Bug 1719669 - Fix the reverse loop in `SelectionState::SaveSelection()` r=m_kato 2021-07-12 07:52:32 +00:00
SelectionState.h Bug 1714914 - Make editor classes treat offset in parent node as uint32_t r=m_kato 2021-06-30 07:07:28 +00:00
SplitNodeTransaction.cpp Bug 1697876 - part 1: Add logging code to transaction classes for making easier to debug r=m_kato 2021-04-05 11:35:48 +00:00
SplitNodeTransaction.h Bug 1697876 - part 1: Add logging code to transaction classes for making easier to debug r=m_kato 2021-04-05 11:35:48 +00:00
TextEditSubActionHandler.cpp Bug 1723125 - Ignore normal selection when updating composition string r=m_kato 2021-08-02 08:23:50 +00:00
TextEditor.cpp Bug 1723125 - Ignore normal selection when updating composition string r=m_kato 2021-08-02 08:23:50 +00:00
TextEditor.h Bug 1723125 - Ignore normal selection when updating composition string r=m_kato 2021-08-02 08:23:50 +00:00
TextEditorDataTransfer.cpp Bug 1723125 - Ignore normal selection when updating composition string r=m_kato 2021-08-02 08:23:50 +00:00
TypeInState.cpp Bug 1703144 - Get rid of `MOZ_KnownLive` for `EditorBase::SelectionRefPtr()` r=m_kato 2021-04-08 01:31:54 +00:00
TypeInState.h Bug 1703144 - Get rid of `MOZ_KnownLive` for `EditorBase::SelectionRefPtr()` r=m_kato 2021-04-08 01:31:54 +00:00
WSRunObject.cpp Bug 1714914 - Make editor classes treat offset in parent node as uint32_t r=m_kato 2021-06-30 07:07:28 +00:00
WSRunObject.h Bug 1714914 - Make editor classes treat offset in parent node as uint32_t r=m_kato 2021-06-30 07:07:28 +00:00
moz.build Bug 1311934 - Replace `TextServicesDocument::IsBlockNode()` with `HTMLEditUtils::IsBlockElement()` r=m_kato 2021-07-19 23:11:25 +00:00