diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2013-06-06 13:58:27 +0200 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2013-06-06 19:44:07 +0200 |
| commit | bd504058d9589ca55901495b9e5f842ffaa5bce6 (patch) | |
| tree | d59c4f38f0b7ac639b171721e09c178a93044c63 /src/buffer.cc | |
| parent | 12d3b64a1b0e156a35c6ddce93ea7d5472788754 (diff) | |
remove unused Buffer::char_at
Diffstat (limited to 'src/buffer.cc')
| -rw-r--r-- | src/buffer.cc | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/buffer.cc b/src/buffer.cc index bca676a6..31bd65b8 100644 --- a/src/buffer.cc +++ b/src/buffer.cc @@ -695,10 +695,4 @@ char Buffer::byte_at(const BufferCoord& c) const return m_lines[c.line].content[c.column]; } -Codepoint Buffer::char_at(const BufferCoord& c) const -{ - kak_assert(c.line < line_count() and c.column < m_lines[c.line].length()); - return utf8::codepoint(m_lines[c.line].content.begin() + (int)c.column); -} - } |
