aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/CellBuffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/CellBuffer.h')
-rw-r--r--src/CellBuffer.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/CellBuffer.h b/src/CellBuffer.h
index c51eab78d..4f654a8fd 100644
--- a/src/CellBuffer.h
+++ b/src/CellBuffer.h
@@ -160,7 +160,7 @@ private:
LineVector lv;
- SVector lineStates;
+ SplitVector<int> lineStates;
public:
@@ -177,6 +177,8 @@ public:
int Lines() const;
int LineStart(int line) const;
int LineFromPosition(int pos) { return lv.LineFromPosition(pos); }
+ void InsertLine(int line, int position);
+ void RemoveLine(int line);
const char *InsertString(int position, const char *s, int insertLength, bool &startSequence);
/// Setting styles for positions outside the range of the buffer is safe and has no effect.