From 9cfb0cc132acdccb9947574e5504648dbb3ddc87 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Mon, 19 Apr 2010 09:50:09 +0000 Subject: Potential fix to bug #974009 and #2986727 Markers don't move when return is hit at start of line. --- src/CellBuffer.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/CellBuffer.h') diff --git a/src/CellBuffer.h b/src/CellBuffer.h index 93202c9b5..a94a9dc38 100644 --- a/src/CellBuffer.h +++ b/src/CellBuffer.h @@ -37,7 +37,7 @@ public: void SetPerLine(PerLine *pl); void InsertText(int line, int delta); - void InsertLine(int line, int position); + void InsertLine(int line, int position, bool lineStart); void SetLineStart(int line, int position); void RemoveLine(int line); int Lines() const { @@ -159,7 +159,7 @@ public: int Lines() const; int LineStart(int line) const; int LineFromPosition(int pos) const { return lv.LineFromPosition(pos); } - void InsertLine(int line, int position); + void InsertLine(int line, int position, bool lineStart); void RemoveLine(int line); const char *InsertString(int position, const char *s, int insertLength, bool &startSequence); -- cgit v1.2.3