Lines Matching refs:TextPosition
58 struct TextPosition { struct
73 TextPosition move(Editor::Movement move, Editor::TextPosition pos) const; argument
74 TextPosition getPosition(SkIPoint);
75 SkRect getLocation(TextPosition);
77 TextPosition insert(TextPosition, const char* utf8Text, size_t byteLen);
79 TextPosition remove(TextPosition, TextPosition);
83 size_t copy(TextPosition pos1, TextPosition pos2, char* dst = nullptr) const;
95 TextPosition fSelectionBegin;
96 TextPosition fSelectionEnd;
97 TextPosition fCursor;
128 static inline bool operator==(const SkPlainTextEditor::Editor::TextPosition& u,
129 const SkPlainTextEditor::Editor::TextPosition& v) {
132 static inline bool operator!=(const SkPlainTextEditor::Editor::TextPosition& u,
133 … const SkPlainTextEditor::Editor::TextPosition& v) { return !(u == v); }
135 static inline bool operator<(const SkPlainTextEditor::Editor::TextPosition& u,
136 const SkPlainTextEditor::Editor::TextPosition& v) {