Diff of /src/Document.cxx [1daf52] .. [cdbcf0]  Maximize  Restore

  Switch to side-by-side view

--- a/src/Document.cxx
+++ b/src/Document.cxx
@@ -279,7 +279,7 @@
 }
 
 int SCI_METHOD Document::LineEnd(int line) const {
-	if (line == LinesTotal() - 1) {
+	if (line >= LinesTotal() - 1) {
 		return LineStart(line + 1);
 	} else {
 		int position = LineStart(line + 1);

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks