aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2006-02-02 02:19:37 +0000
committernyamatongwe <devnull@localhost>2006-02-02 02:19:37 +0000
commitd70d2f8e3d9cf3d1d3025aad8d9e7e40af19af72 (patch)
tree5d3eec6f3781a32c673ec13157d1e72775c024d4
parent3d23c628dbba9673834cf9f4837ca163c4d2646d (diff)
downloadscintilla-mirror-d70d2f8e3d9cf3d1d3025aad8d9e7e40af19af72.tar.gz
Fixed bug where performing a split on several paragraphs missed later
paragraphs.
-rw-r--r--src/Editor.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx
index d1abba7c7..bd0fc9fba 100644
--- a/src/Editor.cxx
+++ b/src/Editor.cxx
@@ -1676,6 +1676,7 @@ void Editor::LinesSplit(int pixelWidth) {
targetEnd += static_cast<int>(strlen(eol));
}
}
+ lineEnd = pdoc->LineFromPosition(targetEnd);
}
pdoc->EndUndoAction();
}