diff options
author | Neil <nyamatongwe@gmail.com> | 2015-09-04 11:06:59 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2015-09-04 11:06:59 +1000 |
commit | 37c8cba55c4b6ad5fcefec97175072d73bb58743 (patch) | |
tree | 773d03ee69cc49ae25f6556fc55e7dc4afb92882 /src/Document.cxx | |
parent | 8baed11d7ef1fd794cbbdf250e96b7cefec34ca0 (diff) | |
download | scintilla-mirror-37c8cba55c4b6ad5fcefec97175072d73bb58743.tar.gz |
Bug [#1757]. Treat CRLF as two characters in SCI_COUNTCHARACTERS.
Diffstat (limited to 'src/Document.cxx')
-rw-r--r-- | src/Document.cxx | 2 |
1 files changed, 0 insertions, 2 deletions
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; |