summaryrefslogtreecommitdiff
path: root/src/buffer.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/buffer.hh')
-rw-r--r--src/buffer.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/buffer.hh b/src/buffer.hh
index ec2b9620..fd748213 100644
--- a/src/buffer.hh
+++ b/src/buffer.hh
@@ -95,6 +95,7 @@ public:
private:
SafePtr<const Buffer> m_buffer;
+ ArrayView<const StringDataPtr> m_lines;
BufferCoord m_coord;
StringView m_line;
};
@@ -122,6 +123,7 @@ public:
ReadOnly = 1 << 6,
};
friend constexpr bool with_bit_ops(Meta::Type<Flags>) { return true; }
+ friend class BufferIterator;
enum class HistoryId : size_t { First = 0, Invalid = (size_t)-1 };