Selection: allow write access to first and last
This commit is contained in:
parent
45bd3dbe5a
commit
22c545884f
|
@ -28,6 +28,9 @@ struct Selection : public BufferChangeListener
|
||||||
const BufferIterator& first() const { return m_first; }
|
const BufferIterator& first() const { return m_first; }
|
||||||
const BufferIterator& last() const { return m_last; }
|
const BufferIterator& last() const { return m_last; }
|
||||||
|
|
||||||
|
BufferIterator& first() { return m_first; }
|
||||||
|
BufferIterator& last() { return m_last; }
|
||||||
|
|
||||||
void merge_with(const Selection& selection);
|
void merge_with(const Selection& selection);
|
||||||
void avoid_eol();
|
void avoid_eol();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user