[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdevelop-devel
Subject:    Re: code completion
From:       "F () lk Brettschneider" <gigafalk () yahoo ! com>
Date:       2002-02-11 9:03:13
[Download RAW message or body]

Daniel Köbbing wrote:
> 
> Hallo zusammen,
> 
> Da ich keine Möglichkeit eines "commit" habe, möchte ich euch eine kleine
> Änderung in ceditwidget.cpp auf diesem Weg zukommen lassen.
> 
> #if QT_VERSION < 300
>     QRegExp rx(QString("[\\s:;,+-*/]") + prefix +
> "[a-zA-Z0-9_]+[\\s:;,+-*/]");
> #else
>     QRegExp rx(QString("\\b") + prefix + "[a-zA-Z0-9_]+\\b");
> #endif
>     while( (pos = rx.match(text, idx, &len)) != -1 ){
> #if QT_VERSION < 300
>         QString word = text.mid( pos+1, len-2 );
> #else
>         QString word = text.mid( pos, len );
> #endif
> 
> in der Methode getAllWords lässt expandText auch unter QT 2.3.1
> laufen.
(Translation: Daniel made basic codecompletion work with KDE 2 as well.)

Thanks a lot. I applied it to CVS and also your name to the AUTHOR file
under the patches section.

Cheers,F@lk

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


_______________________________________________
Kdevelop-devel mailing list
Kdevelop-devel@barney.cs.uni-potsdam.de
http://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic