diff options
author | nyamatongwe <unknown> | 2010-04-19 09:50:09 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2010-04-19 09:50:09 +0000 |
commit | ad8e3b7b20b3b7ad4c3b6cc573bd0642d601c4ef (patch) | |
tree | b5502d674ddbcbb9f172640467b2ce7194b7c1f2 /src/CellBuffer.h | |
parent | ce8b7a0aea667543c8149b0c809c238391355f69 (diff) | |
download | scintilla-mirror-ad8e3b7b20b3b7ad4c3b6cc573bd0642d601c4ef.tar.gz |
Potential fix to bug #974009 and #2986727 Markers don't move when return is
hit at start of line.
Diffstat (limited to 'src/CellBuffer.h')
-rw-r--r-- | src/CellBuffer.h | 4 |
1 files changed, 2 insertions, 2 deletions
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); |