gecko-dev/editor/libeditor
Masayuki Nakano e63d0f9e18 Bug 1647556 - part 8: Make WSRunObject::PrepareToSplitAcrossBlocksPriv() stop using FindNearestFragment() r=m_kato
It looks for same `WSFragment` twice with comparing text and what it looks for
is the instance whose `IsVisibleAndMiddleOfLine()` returns `true`.
Additionally, doing twice is for checking only whether the split point is
start or end of the range.  Therefore, we can make it simpler with using
`TextFragmentData::CreateWSFragmentForVisibleAndMiddleOfLine()`.

Differential Revision: https://phabricator.services.mozilla.com/D82281
2020-07-09 05:04:56 +00:00
..
crashtests Bug 1647556 - part 4: Rewrite WSRunObject::Scrub() r=m_kato 2020-07-07 16:21:50 +00:00
tests Bug 1647556 - part 4: Rewrite WSRunObject::Scrub() r=m_kato 2020-07-07 16:21:50 +00:00
ChangeAttributeTransaction.cpp
ChangeAttributeTransaction.h
ChangeStyleTransaction.cpp Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj 2020-07-01 08:29:29 +00:00
ChangeStyleTransaction.h
CompositionTransaction.cpp Bug 1639161 - part 1: Create ReplaceTextTransaction class r=m_kato 2020-05-21 02:30:09 +00:00
CompositionTransaction.h
CreateElementTransaction.cpp Bug 1644903 - Make nsINode::InsertBefore() callers call ErrorResult::WouldReportJSException() when inserting node may be in another document r=m_kato 2020-07-01 13:13:13 +00:00
CreateElementTransaction.h
CSSEditUtils.cpp Bug 1648010 - Remove NS_NAMED_LITERAL_CSTRING and NS_NAMED_LITERAL_STRING macros. r=froydnj 2020-07-01 08:42:31 +00:00
CSSEditUtils.h
DeleteNodeTransaction.cpp Bug 1644903 - Make nsINode::InsertBefore() callers call ErrorResult::WouldReportJSException() when inserting node may be in another document r=m_kato 2020-07-01 13:13:13 +00:00
DeleteNodeTransaction.h
DeleteRangeTransaction.cpp
DeleteRangeTransaction.h
DeleteTextTransaction.cpp Bug 1639161 - part 1: Create ReplaceTextTransaction class r=m_kato 2020-05-21 02:30:09 +00:00
DeleteTextTransaction.h
EditAction.h
EditActionListener.h
EditAggregateTransaction.cpp Bug 1626570 - Improve handling of copying arrays in editor/. r=m_kato 2020-05-06 11:15:49 +00:00
EditAggregateTransaction.h
EditorBase.cpp Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj 2020-07-01 08:29:29 +00:00
EditorBase.h Bug 1642594 - part 4: Stop using "whitespace" in under libeditor r=m_kato 2020-06-10 13:44:10 +00:00
EditorCommands.cpp
EditorCommands.h
EditorController.cpp
EditorController.h
EditorDOMPoint.h Bug 1647556 - part 3-1: Add API to WSRunScanner::TextFragmentData to get range of invisible leading or trailing white-spaces r=m_kato 2020-07-07 05:31:34 +00:00
EditorEventListener.cpp Bug 1648010 - Fix uses of NS_LITERAL_STRING with C string literals. r=geckoview-reviewers,agi,froydnj 2020-07-01 08:34:12 +00:00
EditorEventListener.h
EditorUtils.cpp Bug 1640276 - Part 11: Mark nsINode as const in IsPointInSelection() r=masayuki 2020-06-19 00:58:40 +00:00
EditorUtils.h Bug 1640276 - Part 11: Mark nsINode as const in IsPointInSelection() r=masayuki 2020-06-19 00:58:40 +00:00
EditTransactionBase.cpp Bug 1639161 - part 1: Create ReplaceTextTransaction class r=m_kato 2020-05-21 02:30:09 +00:00
EditTransactionBase.h Bug 1639161 - part 1: Create ReplaceTextTransaction class r=m_kato 2020-05-21 02:30:09 +00:00
HTMLAbsPositionEditor.cpp Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj 2020-07-01 08:29:29 +00:00
HTMLAnonymousNodeEditor.cpp Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj 2020-07-01 08:29:29 +00:00
HTMLEditor.cpp Bug 1649121: part 15) Declare IsVisibleBRElement const. r=masayuki 2020-07-03 09:25:25 +00:00
HTMLEditor.h Bug 1649121: part 24) Move StripFormattingNodes. r=masayuki 2020-07-07 12:32:40 +00:00
HTMLEditorCommands.cpp Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj 2020-07-01 08:29:29 +00:00
HTMLEditorController.cpp
HTMLEditorController.h
HTMLEditorDataTransfer.cpp Bug 1649121: part 24) Move StripFormattingNodes. r=masayuki 2020-07-07 12:32:40 +00:00
HTMLEditorDocumentCommands.cpp Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj 2020-07-01 08:29:29 +00:00
HTMLEditorEventListener.cpp Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj 2020-07-01 08:29:29 +00:00
HTMLEditorEventListener.h Bug 1632425 - Part 3: Triple click to select anchors r=masayuki 2020-06-03 23:47:55 +00:00
HTMLEditorObjectResizer.cpp Bug 1648010 - Remove NS_NAMED_LITERAL_CSTRING and NS_NAMED_LITERAL_STRING macros. r=froydnj 2020-07-01 08:42:31 +00:00
HTMLEditSubActionHandler.cpp Bug 1647556 - part 6: Make WSRunObject::AdjustWhiteSpace() use TextFragmentData::CreateWSFragmentForVisibleAndMiddleOfLine() instead of scanning all WSFragments r=m_kato 2020-07-08 10:11:35 +00:00
HTMLEditUtils.cpp Bug 1649121: part 11) Factor some functionality of GetMostAncestorListOrTableElement out. r=masayuki 2020-07-03 09:26:19 +00:00
HTMLEditUtils.h Bug 1649121: part 11) Factor some functionality of GetMostAncestorListOrTableElement out. r=masayuki 2020-07-03 09:26:19 +00:00
HTMLInlineTableEditor.cpp Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj 2020-07-01 08:29:29 +00:00
HTMLStyleEditor.cpp Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj 2020-07-01 08:29:29 +00:00
HTMLTableEditor.cpp Bug 1635709: part 17) Annotate CellIndexes's methods with MOZ_CAN_RUN_SCRIPT. r=masayuki 2020-05-14 10:08:44 +00:00
InsertNodeTransaction.cpp Bug 1644903 - Make nsINode::InsertBefore() callers call ErrorResult::WouldReportJSException() when inserting node may be in another document r=m_kato 2020-07-01 13:13:13 +00:00
InsertNodeTransaction.h
InsertTextTransaction.cpp Bug 1639161 - part 1: Create ReplaceTextTransaction class r=m_kato 2020-05-21 02:30:09 +00:00
InsertTextTransaction.h
InternetCiter.cpp Bug 1642594 - part 4: Stop using "whitespace" in under libeditor r=m_kato 2020-06-10 13:44:10 +00:00
InternetCiter.h
JoinNodeTransaction.cpp Bug 1644903 - Make nsINode::InsertBefore() callers call ErrorResult::WouldReportJSException() when inserting node may be in another document r=m_kato 2020-07-01 13:13:13 +00:00
JoinNodeTransaction.h
ManualNAC.h Bug 1640601 - Also reframe the closest non-anonymous root when switching anonymous content from display: none to something else. r=mats 2020-05-25 23:54:10 +00:00
moz.build Bug 1639161 - part 1: Create ReplaceTextTransaction class r=m_kato 2020-05-21 02:30:09 +00:00
PlaceholderTransaction.cpp
PlaceholderTransaction.h
ReplaceTextTransaction.cpp Bug 1639161 - part 1: Create ReplaceTextTransaction class r=m_kato 2020-05-21 02:30:09 +00:00
ReplaceTextTransaction.h Bug 1639161 - part 1: Create ReplaceTextTransaction class r=m_kato 2020-05-21 02:30:09 +00:00
SelectionState.cpp Bug 1639161 - part 1: Create ReplaceTextTransaction class r=m_kato 2020-05-21 02:30:09 +00:00
SelectionState.h Bug 1639161 - part 1: Create ReplaceTextTransaction class r=m_kato 2020-05-21 02:30:09 +00:00
SplitNodeTransaction.cpp Bug 1644903 - Make nsINode::InsertBefore() callers call ErrorResult::WouldReportJSException() when inserting node may be in another document r=m_kato 2020-07-01 13:13:13 +00:00
SplitNodeTransaction.h
TextEditor.cpp Bug 1648010 - Remove NS_NAMED_LITERAL_CSTRING and NS_NAMED_LITERAL_STRING macros. r=froydnj 2020-07-01 08:42:31 +00:00
TextEditor.h Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj 2020-07-01 08:29:29 +00:00
TextEditorDataTransfer.cpp Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj 2020-07-01 08:29:29 +00:00
TextEditSubActionHandler.cpp Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj 2020-07-01 08:29:29 +00:00
TypeInState.cpp Bug 1642949 - Replace uses of RemoveElementAt by RemoveLastElement/PopLastElement where possible. r=necko-reviewers,froydnj 2020-06-10 10:46:14 +00:00
TypeInState.h
WSRunObject.cpp Bug 1647556 - part 8: Make WSRunObject::PrepareToSplitAcrossBlocksPriv() stop using FindNearestFragment() r=m_kato 2020-07-09 05:04:56 +00:00
WSRunObject.h Bug 1647556 - part 8: Make WSRunObject::PrepareToSplitAcrossBlocksPriv() stop using FindNearestFragment() r=m_kato 2020-07-09 05:04:56 +00:00