diff options
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); -} - } |
