From c8b8650e823e9ea0fb59bdd9108c9c491a4ff4ea Mon Sep 17 00:00:00 2001 From: Neil Date: Fri, 4 Sep 2015 11:06:59 +1000 Subject: Bug [#1757]. Treat CRLF as two characters in SCI_COUNTCHARACTERS. --- src/Document.cxx | 2 -- 1 file changed, 2 deletions(-) (limited to 'src') diff --git a/src/Document.cxx b/src/Document.cxx index 102e42383..956664103 100644 --- a/src/Document.cxx +++ b/src/Document.cxx @@ -1325,8 +1325,6 @@ int Document::CountCharacters(int startPos, int endPos) const { int i = startPos; while (i < endPos) { count++; - if (IsCrLf(i)) - i++; i = NextPosition(i, 1); } return count; -- cgit v1.2.3