diff options
author | nyamatongwe <unknown> | 2010-07-24 08:13:20 +1000 |
---|---|---|
committer | nyamatongwe <unknown> | 2010-07-24 08:13:20 +1000 |
commit | 3b73638348171583eacff49f34076e302b51f04e (patch) | |
tree | a4a38c1f566ba1f5be255dbefdad52a0d37daa05 /src/Document.cxx | |
parent | 1e11bffd4ba9cfda6a4011aaf0bcdb9bb9d1ff54 (diff) | |
download | scintilla-mirror-3b73638348171583eacff49f34076e302b51f04e.tar.gz |
Removed debug logging.
Diffstat (limited to 'src/Document.cxx')
-rw-r--r-- | src/Document.cxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/Document.cxx b/src/Document.cxx index 0d9b8baa3..4b6a448cb 100644 --- a/src/Document.cxx +++ b/src/Document.cxx @@ -91,7 +91,6 @@ void LexInterface::Colourise(int start, int end) { performingStyle = false; } - Platform::DebugPrintf("Style:%d %9.6g \n", performingStyle, et.Duration()); } Document::Document() { @@ -1241,7 +1240,7 @@ long Document::FindText(int minPos, int maxPos, const char *search, } pos += increment; if (dbcsCodePage && (pos >= 0)) { - // Have to use >= 0 as otherwise next statement would change + // Have to use >= 0 as otherwise next statement would change // -1 to 0 and make loop infinite. // Ensure trying to match from start of character pos = MovePositionOutsideChar(pos, increment, false); @@ -1257,8 +1256,8 @@ long Document::FindText(int minPos, int maxPos, const char *search, int indexDocument = 0; int indexSearch = 0; bool characterMatches = true; - while (characterMatches && - ((pos + indexDocument) < limitPos) && + while (characterMatches && + ((pos + indexDocument) < limitPos) && (indexSearch < lenSearch)) { char bytes[maxBytesCharacter + 1]; bytes[maxBytesCharacter] = 0; |