diff options
| author | 2010-06-05 14:56:48 +0000 | |
|---|---|---|
| committer | 2010-06-05 14:56:48 +0000 | |
| commit | 15e45caf64081fb1e58c1749cdcd02f8c3d0625b (patch) | |
| tree | 959831d8ca10e63be010da0e83ca48ef5c6ab21d /src/modules | |
| parent | server handling: avoid to pick up the first available server from the first a... (diff) | |
| download | KVIrc-15e45caf64081fb1e58c1749cdcd02f8c3d0625b.tar.gz KVIrc-15e45caf64081fb1e58c1749cdcd02f8c3d0625b.tar.bz2 KVIrc-15e45caf64081fb1e58c1749cdcd02f8c3d0625b.zip | |
Small fix in editor module
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@4422 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules')
| -rw-r--r-- | src/modules/editor/scripteditor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/editor/scripteditor.cpp b/src/modules/editor/scripteditor.cpp index 18f49781a..d9d9ccda6 100644 --- a/src/modules/editor/scripteditor.cpp +++ b/src/modules/editor/scripteditor.cpp @@ -681,12 +681,12 @@ void KviScriptEditorSyntaxHighlighter::highlightBlock(const QString & szText) QString szFind = pEditor->m_szFind; if (!szFind.isEmpty()) { - index = szText.indexOf(szFind); + index = szText.indexOf(szFind,0,Qt::CaseInsensitive); int length=szFind.length(); while (index >= 0) { setFormat(index, length, findFormat); - index = szText.indexOf(szFind,index + length); + index = szText.indexOf(szFind,index + length,Qt::CaseInsensitive); } } } |
