- void clearSelection() const {
- sel_cell_start = sel_cell_end = 0;
- has_selection = false;
- }
- void setSelection(int start, int end) const {
- sel_cell_start = start;
- sel_cell_end = end;
- has_selection = true;
- }
- ///
- bool activateCellInset(BufferView *, int x = 0, int y = 0,
- mouse_button::state button = mouse_button::none,
- bool behind = false);
- ///
- bool insetHit(BufferView * bv, int x, int y) const;
- ///