Home
last modified time | relevance | path

Searched refs:OffsetInSpan (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/
H A Dcj_richeditor_ffi.cpp146 textSpanResult.OffsetInSpan(), in FfiOHOSAceFrameworkRichEditorOnIMEInputComplete()
147 textSpanResult.OffsetInSpan() + textSpanResult.GetEraseLength() in FfiOHOSAceFrameworkRichEditorOnIMEInputComplete()
H A Dcj_richeditor_controller_ffi.cpp139 nativeTextResult.offsetInSpanStart = spanObject.OffsetInSpan(); in ParseRichEditorAbstractTextSpanResult()
140 nativeTextResult.offsetInSpanEnd = spanObject.OffsetInSpan() + spanObject.GetEraseLength(); in ParseRichEditorAbstractTextSpanResult()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rich_editor/
H A Drich_editor_event_hub.cpp99 int32_t RichEditorAbstractSpanResult::OffsetInSpan() const in OffsetInSpan() function in OHOS::Ace::NG::RichEditorAbstractSpanResult
H A Drich_editor_event_hub.h92 int32_t OffsetInSpan() const;
H A Drich_editor_pattern.cpp6447 if (textTempSize < it.OffsetInSpan()) { in OnBackPressed()
6450 text.c_str(), textTempSize, it.OffsetInSpan()); in OnBackPressed()
6453 textTemp.erase(it.OffsetInSpan(), it.GetEraseLength()); in OnBackPressed()
9756 …textTemp = StringUtils::ToWstring(originalStr).erase(firstResult.OffsetInSpan(), firstResult.GetEr… in OnBackPressed()
9772 textTemp.erase(orgIt.OffsetInSpan(), orgIt.GetEraseLength()); in OnBackPressed()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_richeditor.cpp665 offsetInSpan->SetValueAt(0, JSRef<JSVal>::Make(ToJSValue(textSpanResult.OffsetInSpan()))); in CreateJsOnIMEInputComplete()
667 …1, JSRef<JSVal>::Make(ToJSValue(textSpanResult.OffsetInSpan() + textSpanResult.GetEraseLength()))); in CreateJsOnIMEInputComplete()
723 offsetInSpan->SetValueAt(0, JSRef<JSVal>::Make(ToJSValue(it.OffsetInSpan()))); in CreateJSDeleteSpans()
724 …offsetInSpan->SetValueAt(1, JSRef<JSVal>::Make(ToJSValue(it.OffsetInSpan() + it.GetEraseLength()))… in CreateJSDeleteSpans()
780 offsetInSpan->SetValueAt(0, JSRef<JSVal>::Make(ToJSValue(it.OffsetInSpan()))); in SetChangeTextSpans()
781 …offsetInSpan->SetValueAt(1, JSRef<JSVal>::Make(ToJSValue(it.OffsetInSpan() + it.GetEraseLength()))… in SetChangeTextSpans()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/
H A Darkts_native_rich_editor_bridge.cpp204 …da::ArrayRef::SetValueAt(vm, offsetInSpan, NUM_0, panda::NumberRef::New(vm, event.OffsetInSpan())); in CreateAbstractSpanResult()
206 panda::NumberRef::New(vm, event.OffsetInSpan() + event.GetEraseLength())); in CreateAbstractSpanResult()