summaryrefslogtreecommitdiffstats
path: root/src/kile/codecompletion.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kile/codecompletion.cpp')
-rw-r--r--src/kile/codecompletion.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/kile/codecompletion.cpp b/src/kile/codecompletion.cpp
index a738dca..9cdc703 100644
--- a/src/kile/codecompletion.cpp
+++ b/src/kile/codecompletion.cpp
@@ -38,12 +38,12 @@
namespace KileDocument
{
- static TQRegExp::TQRegExp reRef;
- static TQRegExp::TQRegExp reRefExt;
- static TQRegExp::TQRegExp reCite;
- static TQRegExp::TQRegExp reCiteExt;
- static TQRegExp::TQRegExp reNotRefChars("[^a-zA-Z0-9_@\\.\\+\\-\\*\\:]");
- static TQRegExp::TQRegExp reNotCiteChars("[^a-zA-Z0-9_@\\-\\:]");
+ static TQRegExp reRef;
+ static TQRegExp reRefExt;
+ static TQRegExp reCite;
+ static TQRegExp reCiteExt;
+ static TQRegExp reNotRefChars("[^a-zA-Z0-9_@\\.\\+\\-\\*\\:]");
+ static TQRegExp reNotCiteChars("[^a-zA-Z0-9_@\\-\\:]");
CodeCompletion::CodeCompletion(KileInfo *info) : m_ki(info), m_view(0L)
{
@@ -532,7 +532,7 @@ namespace KileDocument
TQString CodeCompletion::filterCompletionText( const TQString &text, const TQString &type )
{
- static TQRegExp::TQRegExp reEnv = TQRegExp("^\\\\(begin|end)[^a-zA-Z]+");
+ static TQRegExp reEnv = TQRegExp("^\\\\(begin|end)[^a-zA-Z]+");
KILE_DEBUG() << " complete filter: " << text << " type " << type << endl;
m_type = getType( text ); // remember current type
@@ -631,7 +631,7 @@ namespace KileDocument
TQString CodeCompletion::buildEnvironmentText( const TQString &text, const TQString &type,
const TQString &prefix, uint &ypos, uint &xpos )
{
- static TQRegExp::TQRegExp reEnv = TQRegExp("^\\\\(begin|end)\\{([^\\}]*)\\}(.*)");
+ static TQRegExp reEnv = TQRegExp("^\\\\(begin|end)\\{([^\\}]*)\\}(.*)");
if (reEnv.search(text) == -1) return text;