summaryrefslogtreecommitdiff
path: root/src/buffer.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/buffer.hh')
-rw-r--r--src/buffer.hh5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/buffer.hh b/src/buffer.hh
index d0fdffcb..d2679ba1 100644
--- a/src/buffer.hh
+++ b/src/buffer.hh
@@ -89,9 +89,9 @@ public:
private:
SafePtr<const Buffer> m_buffer;
- StringView m_line;
BufferCoord m_coord;
- LineCount m_last_line;
+ LineCount m_line_count;
+ StringView m_line;
};
using BufferLines = Vector<StringDataPtr, MemoryDomain::BufferContent>;
@@ -205,7 +205,6 @@ public:
{
enum Type : char { Insert, Erase };
Type type;
- bool at_end;
BufferCoord begin;
BufferCoord end;
};