summaryrefslogtreecommitdiff
path: root/src/buffer.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/buffer.hh')
-rw-r--r--src/buffer.hh3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/buffer.hh b/src/buffer.hh
index 36fc2b0d..0d055c4b 100644
--- a/src/buffer.hh
+++ b/src/buffer.hh
@@ -132,6 +132,7 @@ public:
BufferIterator end() const;
CharCount character_count() const;
LineCount line_count() const;
+ CharCount line_length(LineCount line) const;
// returns an iterator at given coordinates. line_and_column is
// clamped according to avoid_eol.
@@ -206,8 +207,6 @@ private:
void do_insert(const BufferIterator& pos, const String& content);
void do_erase(const BufferIterator& pos, CharCount length);
- CharCount line_length(LineCount line) const;
-
String m_name;
const Type m_type;