Home
last modified time | relevance | path

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

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/text_field/
H A Drender_text_field.cpp2824 auto stringText = GetEditingValue().GetSelectedText(TextSelection(start - number, start)); in GetLeftTextOfCursor() local
2825 return StringUtils::Str8ToStr16(stringText); in GetLeftTextOfCursor()
2834 auto stringText = GetEditingValue().GetSelectedText(TextSelection(end, end + number)); in GetRightTextOfCursor() local
2835 return StringUtils::Str8ToStr16(stringText); in GetRightTextOfCursor()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_field/
H A Dtext_field_pattern.cpp5477 auto stringText = contentController_->GetSelectedValue(start - number, start); in GetLeftTextOfCursor() local
5478 return StringUtils::Str8ToStr16(stringText); in GetLeftTextOfCursor()
5487 auto stringText = contentController_->GetSelectedValue(end, end + number); in GetRightTextOfCursor() local
5488 return StringUtils::Str8ToStr16(stringText); in GetRightTextOfCursor()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rich_editor/
H A Drich_editor_pattern.cpp1513 auto stringText = GetSelectedText(start - number, start); in GetLeftTextOfCursor() local
1514 return StringUtils::Str8ToStr16(stringText); in GetLeftTextOfCursor()
1523 auto stringText = GetSelectedText(end, end + number); in GetRightTextOfCursor() local
1524 return StringUtils::Str8ToStr16(stringText); in GetRightTextOfCursor()