diff options
| author | 2008-09-28 15:12:43 +0000 | |
|---|---|---|
| committer | 2008-09-28 15:12:43 +0000 | |
| commit | 3398ba4f70504561c4d4ea64de019bc3b5bb262b (patch) | |
| tree | 9cb5e2544e1ee3800293e3ede0101424dc266b91 /src/modules | |
| parent | quick fix in editor module (code completer) (diff) | |
| download | KVIrc-3398ba4f70504561c4d4ea64de019bc3b5bb262b.tar.gz KVIrc-3398ba4f70504561c4d4ea64de019bc3b5bb262b.tar.bz2 KVIrc-3398ba4f70504561c4d4ea64de019bc3b5bb262b.zip | |
other small fix
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@2590 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 544ff4e96..e1cfdc87d 100644 --- a/src/modules/editor/scripteditor.cpp +++ b/src/modules/editor/scripteditor.cpp @@ -157,12 +157,12 @@ void KviScriptEditorWidget::asyncCompleterCreation() QString szTmp("kvscompleter.idx"); QString szPath; g_pApp->getLocalKvircDirectory(szPath,KviApp::ConfigPlugins,szTmp); + KviKvsKernel::instance()->getAllFunctionsCommandsCore(m_pListCompletition); QString szBuffer = m_pListCompletition->join(","); QFile f(szPath); f.open(QIODevice::WriteOnly); f.write(szBuffer.toUtf8()); f.close(); - KviKvsKernel::instance()->getAllFunctionsCommandsCore(m_pListCompletition); createCompleter(*m_pListCompletition); iIndex = 0; iModulesCount = 0; @@ -579,7 +579,7 @@ void KviScriptEditorSyntaxHighlighter::highlightBlock(const QString & szText) if(iEndStateOfLastPara < 0) iEndStateOfLastPara = 0; /* - QRegExp reg("[$](|[a-zA-Z]|[a-zA-Z]+[a-zA-Z0-9_\.:]*)"); + QRegExp reg("[$](|[a-zA-Z]|[a-zA-Z]+[a-zA-Z0-9_\\.:]*)"); int index = text.indexOf(reg); while (index >= 0) { |
