Home
last modified time | relevance | path

Searched refs:replaceLength (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.cpp4911 auto replaceLength = range.end - range.start; in UpdatePreviewText() local
4914 if (replaceIndex < 0 || replaceIndex + replaceLength > oldPreviewLength) { in UpdatePreviewText()
4920 … .replace(replaceIndex, replaceLength, StringUtils::ToWstring(previewTextValue))); in UpdatePreviewText()