diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2012-11-22 18:54:37 +0100 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2012-11-22 18:54:37 +0100 |
| commit | 11e885e5a5e31f75cfb18dd02907b86e3c40b8da (patch) | |
| tree | b96e0c8fe37613a85c0e4eebe295f4c0aacb2f47 /src/buffer.cc | |
| parent | 73c446e3790f9e8c95a1c4e18d3a739644dcfe70 (diff) | |
Cleanups and minor refactoring on Buffer
Diffstat (limited to 'src/buffer.cc')
| -rw-r--r-- | src/buffer.cc | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/buffer.cc b/src/buffer.cc index 0fc1709b..b8de1e37 100644 --- a/src/buffer.cc +++ b/src/buffer.cc @@ -53,11 +53,6 @@ BufferIterator Buffer::iterator_at(const BufferCoord& line_and_column, return BufferIterator(*this, clamp(line_and_column, avoid_eol)); } -BufferCoord Buffer::line_and_column_at(const BufferIterator& iterator) const -{ - return iterator.m_coord; -} - ByteCount Buffer::line_length(LineCount line) const { assert(line < line_count()); |
