remove unused Buffer::char_at
This commit is contained in:
parent
12d3b64a1b
commit
bd504058d9
|
@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -118,7 +118,6 @@ public:
|
|||
BufferCoord next(BufferCoord coord) const;
|
||||
BufferCoord prev(BufferCoord coord) const;
|
||||
|
||||
Codepoint char_at(const BufferCoord& c) const;
|
||||
BufferCoord char_next(BufferCoord coord) const;
|
||||
BufferCoord char_prev(BufferCoord coord) const;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user