Home
last modified time | relevance | path

Searched refs:spanNodeBefore (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rich_editor/
H A Drich_editor_pattern.cpp5115 … bool spanNodeBeforeCanInsert = spanNodeBefore && spanNodeBefore->GetTag() == V2::SPAN_ETS_TAG; in InsertValueOperation()
5120 auto spanItem = spanNodeBefore->GetSpanItem(); in InsertValueOperation()
5123 targetSpanNode = spanNodeBefore; in InsertValueOperation()
5201 auto spanItem = spanNodeBefore->GetSpanItem(); in InsertValueToBeforeSpan()
5202 CHECK_NULL_RETURN(spanItem, spanNodeBefore); in InsertValueToBeforeSpan()
5213 spanNodeBefore->UpdateContent(text); in InsertValueToBeforeSpan()
5217 CHECK_NULL_RETURN(spanItem, spanNodeBefore); in InsertValueToBeforeSpan()
5225 CopyTextSpanStyle(spanNodeBefore, spanNodeAfter); in InsertValueToBeforeSpan()
5236 spanNodeBefore->UpdateContent(text); in InsertValueToBeforeSpan()
5239 return spanNodeBefore; in InsertValueToBeforeSpan()
[all …]
H A Drich_editor_pattern.h1178 …RefPtr<SpanNode> InsertValueToBeforeSpan(RefPtr<SpanNode>& spanNodeBefore, const std::string& inse…