Searched refs:cp_max (Results 1 – 2 of 2) sorted by relevance
59 CharRange() : cp_min(0), cp_max(0) { } in CharRange()60 CharRange(int n, int x) : cp_min(n), cp_max(x) { } in CharRange()63 int selection_min() const { return std::min(cp_min, cp_max); } in selection_min()64 int selection_max() const { return std::max(cp_min, cp_max); } in selection_max()68 int cp_max; // For a selection: Represents the end (insert position). member
594 *end = static_cast<size_t>(selection.cp_max); in GetSelectionBounds()619 std::max(sel.cp_max, sel.cp_min) < GetTextLength() || IsImeComposing(); in UpdatePopup()620 model_->StartAutocomplete(sel.cp_min != sel.cp_max, no_inline_autocomplete); in UpdatePopup()705 ((new_sel.cp_min != new_sel.cp_max) || in OnAfterPossibleChange()706 (sel_before_change_.cp_min != sel_before_change_.cp_max)) && in OnAfterPossibleChange()708 (new_sel.cp_max != sel_before_change_.cp_max)); in OnAfterPossibleChange()710 (new_sel.cp_min == length && new_sel.cp_max == length); in OnAfterPossibleChange()731 sel_before_change_.cp_max)); in OnAfterPossibleChange()1865 if (strikethrough_.cp_min >= strikethrough_.cp_max) in HandleExposeEvent()1974 gtk_text_buffer_get_iter_at_offset(text_buffer_, iter_max, range.cp_max); in ItersFromCharRange()[all …]