autocomplete_edit_view_gtk.h | 59 CharRange() : cp_min(0), cp_max(0) { } 60 CharRange(int n, int x) : cp_min(n), cp_max(x) { } 63 int selection_min() const { return std::min(cp_min, cp_max); } 64 int selection_max() const { return std::max(cp_min, cp_max); } 67 int cp_min; // For a selection: Represents the start. member in struct:AutocompleteEditViewGtk::CharRange 308 // direction, cp_max is the insertion point, and cp_min is the bound.
|