Home
last modified time | relevance | path

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

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rich_editor/
H A Drich_editor_pattern.cpp282 int32_t changeLength = 0; in InsertValueInStyledString() local
285 changeLength = textSelector_.GetTextEnd() - changeStart; in InsertValueInStyledString()
296 if (changeLength > 0) { in InsertValueInStyledString()
297 DeleteForwardInStyledString(changeLength, false); in InsertValueInStyledString()
316 AfterStyledStringChange(changeStart, changeLength, insertValue); in InsertValueInStyledString()
4315 int32_t changeLength = 0; in InsertStyledStringByPaste() local
4318 changeLength = textSelector_.GetTextEnd() - textSelector_.GetTextStart(); in InsertStyledStringByPaste()
4320 CHECK_NULL_VOID(BeforeStyledStringChange(changeStart, changeLength, spanString)); in InsertStyledStringByPaste()
4321 if (changeLength > 0) { in InsertStyledStringByPaste()
4322 DeleteForwardInStyledString(changeLength, false); in InsertStyledStringByPaste()
[all …]