Selectors: remove unused move_select
This commit is contained in:
parent
be043ffe1e
commit
80e7bac622
|
@ -136,14 +136,6 @@ Selection select_line(const BufferIterator& cursor)
|
||||||
return Selection(first, last);
|
return Selection(first, last);
|
||||||
}
|
}
|
||||||
|
|
||||||
Selection move_select(Window& window, const BufferIterator& cursor, const WindowCoord& offset)
|
|
||||||
{
|
|
||||||
WindowCoord cursor_pos = window.line_and_column_at(cursor);
|
|
||||||
WindowCoord new_pos = cursor_pos + offset;
|
|
||||||
|
|
||||||
return Selection(cursor, window.iterator_at(new_pos));
|
|
||||||
}
|
|
||||||
|
|
||||||
Selection select_matching(const BufferIterator& cursor)
|
Selection select_matching(const BufferIterator& cursor)
|
||||||
{
|
{
|
||||||
std::vector<char> matching_pairs = { '(', ')', '{', '}', '[', ']', '<', '>' };
|
std::vector<char> matching_pairs = { '(', ')', '{', '}', '[', ']', '<', '>' };
|
||||||
|
|
|
@ -10,7 +10,6 @@ Selection select_to_next_word(const BufferIterator& cursor);
|
||||||
Selection select_to_next_word_end(const BufferIterator& cursor);
|
Selection select_to_next_word_end(const BufferIterator& cursor);
|
||||||
Selection select_to_previous_word(const BufferIterator& cursor);
|
Selection select_to_previous_word(const BufferIterator& cursor);
|
||||||
Selection select_line(const BufferIterator& cursor);
|
Selection select_line(const BufferIterator& cursor);
|
||||||
Selection move_select(Window& window, const BufferIterator& cursor, const WindowCoord& offset);
|
|
||||||
Selection select_matching(const BufferIterator& cursor);
|
Selection select_matching(const BufferIterator& cursor);
|
||||||
|
|
||||||
Selection select_to(const BufferIterator& cursor, char c, int count, bool inclusive);
|
Selection select_to(const BufferIterator& cursor, char c, int count, bool inclusive);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user