Home
last modified time | relevance | path

Searched refs:currentCaretPosition (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.cpp4333 int currentCaretPosition = caretPosition_; in HandleOnDragInsertStyledString() local
4336 bool isInsertForward = currentCaretPosition < dragRange_.first; in HandleOnDragInsertStyledString()
4337 bool isInsertBackward = currentCaretPosition > dragRange_.second; in HandleOnDragInsertStyledString()
4340 styledString_->InsertSpanString(currentCaretPosition, spanString); in HandleOnDragInsertStyledString()
4341 AfterStyledStringChange(currentCaretPosition, 0, spanString->GetString()); in HandleOnDragInsertStyledString()
4343 SetCaretPosition(currentCaretPosition + strLength); in HandleOnDragInsertStyledString()
4350 styledString_->InsertSpanString(currentCaretPosition, spanString); in HandleOnDragInsertStyledString()
4351 SetCaretPosition(currentCaretPosition + strLength); in HandleOnDragInsertStyledString()
10530 int32_t currentCaretPosition = caretPosition_ - 1; in OnBackPressed() local
10531 AdjustSelector(currentCaretPosition, HandleType::FIRST); in OnBackPressed()
[all …]