Searched refs:currentCaretPosition (Results 1 – 1 of 1) sorted by relevance
4333 int currentCaretPosition = caretPosition_; in HandleOnDragInsertStyledString() local4336 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() local10531 AdjustSelector(currentCaretPosition, HandleType::FIRST); in OnBackPressed()[all …]