Home
last modified time | relevance | path

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

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rich_editor/
H A Drich_editor_pattern.h1241 bool IsTouchBeforeCaret(int32_t caretPos, const Offset& textOffset);
H A Drich_editor_pattern.cpp7810 …bool isTouchLineEnd = currentAffinity == TextAffinity::UPSTREAM && !IsTouchBeforeCaret(currentPosi… in OnBackPressed()
8722 if (!IsTouchBeforeCaret(start, touchPos)) { in OnBackPressed()
8745 return currentAffinity == TextAffinity::UPSTREAM && !IsTouchBeforeCaret(caretPos, textOffset); in OnBackPressed()
8748 bool RichEditorPattern::IsTouchBeforeCaret(int32_t caretPos, const Offset& textOffset) { in OnBackPressed() function in OHOS::Ace::NG::RichEditorPattern