Home
last modified time | relevance | path

Searched defs:TextSelection (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/common/ime/
H A Dtext_selection.h33 struct TextSelection { struct
35 TextSelection(int32_t base, int32_t extent) : baseOffset(base), extentOffset(extent) {} in TextSelection() function
50 bool operator==(const TextSelection& other) const argument
63 inline int32_t GetStart() const in GetStart()
71 inline int32_t GetEnd() const in GetEnd()
79 inline bool IsValid() const in IsValid()
84 std::string ToString() const in ToString()
93 int32_t baseOffset = -1;
96 int32_t extentOffset = -1;
98 TextAffinity affinity = TextAffinity::UPSTREAM;
/ohos5.0/base/inputmethod/imf/frameworks/native/inputmethod_controller/include/
H A Dinput_method_utils.h162 struct TextSelection { struct
176 TextSelection textSelection = {}; argument