add Buffer::Cursor type alias for GapBuffer::Cursor
This commit is contained in:
1 parent
e57c71855a
commit
f14db217d2
3 files changed
+12
-11
No files matched your search
@@ -12,6 +12,8 @@ class Buffer
|
||||
public:
|
||||
Buffer(const char * filename = nullptr);
|
||||
bool write_to_file(const char * filename);
|
||||
|
||||
typedef GapBuffer::Cursor Cursor;
|
||||
auto add_cursor() { return m_gap_buffer->add_cursor(); }
|
||||
auto get_string() { return m_gap_buffer->get_string(); }
|
||||
|
||||
|
||||
Reference in new issue
Block a user