summaryrefslogtreecommitdiff
path: root/src/buffer.hh
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2011-09-22 13:58:35 +0000
committerMaxime Coste <frrrwww@gmail.com>2011-09-22 13:58:35 +0000
commit948443a0775a19c4a6664f41d02dfd4409d24681 (patch)
treea44ed3655e39b59a31751e35df1757bd7fce6c8a /src/buffer.hh
parent2efa120612b0466528e9eeacbf8b390530ede2d4 (diff)
Buffer: add line_count method
Diffstat (limited to 'src/buffer.hh')
-rw-r--r--src/buffer.hh1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/buffer.hh b/src/buffer.hh
index a45c68ea..542a8349 100644
--- a/src/buffer.hh
+++ b/src/buffer.hh
@@ -90,6 +90,7 @@ public:
BufferIterator begin() const;
BufferIterator end() const;
BufferSize length() const;
+ BufferSize line_count() const;
BufferIterator iterator_at(const BufferCoord& line_and_column) const;
BufferCoord line_and_column_at(const BufferIterator& iterator) const;