diff options
author | nyamatongwe <devnull@localhost> | 2010-07-24 08:13:20 +1000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2010-07-24 08:13:20 +1000 |
commit | b1ec9e07197ac1d3956817e09a5e02d1aae86de6 (patch) | |
tree | 2b8a40bc7740aaa8d41754c52d2dbddeb59cacc2 /src/Document.cxx | |
parent | f4f152642544ec141fae19d41a0c8653a11e2b31 (diff) | |
download | scintilla-mirror-b1ec9e07197ac1d3956817e09a5e02d1aae86de6.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; |