summaryrefslogtreecommitdiff
path: root/src/buffer.hh
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2013-04-24 13:56:36 +0200
committerMaxime Coste <frrrwww@gmail.com>2013-04-24 13:56:36 +0200
commitf8c3b6c9ef6c8a6ae66c95800a2a92eee094ea1b (patch)
treedb144cdd6982bd0627ff9936fd6743b277b68d8d /src/buffer.hh
parent7c4e79ef98a727dfeb94a7c30d9aa9975ed37b0b (diff)
Buffer: rename character_count method to byte_count
Diffstat (limited to 'src/buffer.hh')
-rw-r--r--src/buffer.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buffer.hh b/src/buffer.hh
index bca30078..05453ae0 100644
--- a/src/buffer.hh
+++ b/src/buffer.hh
@@ -127,7 +127,7 @@ public:
BufferIterator begin() const;
BufferIterator end() const;
- ByteCount character_count() const;
+ ByteCount byte_count() const;
LineCount line_count() const;
ByteCount line_length(LineCount line) const;
const String& line_content(LineCount line) const