Image 01
profile-image

josander

Jostein Chr. Andersen Vaxholm, Sweden
Kate Symbol Viewer Plugin

Developers Apps by dragonlord79 50 comments

This should serve as a lesson for me: explain better what a patch does and why it's done. Thanks for adding it! :-) - Mar 19 2007
Kate Symbol Viewer Plugin

Developers Apps by dragonlord79 50 comments

Hi,

You've made a great plugin! May I suggest a small change which will make the plugin not show prototypes as subs in perl:

--- cppsymbolviewer-1.8/cppsymbolviewer/perl_parser.cpp 2007-03-18 02:07:03.000000000 +0100
+++ cppsymbolviewer-1.8_new/cppsymbolviewer/perl_parser.cpp 2007-03-19 10:53:37.000000000 +0100
@@ -98,7 +98,7 @@
node->setPixmap(0, (const QPixmap &)sct);
node->setText(1, QString::number( i, 10));
}
- if(cl.find(QRegExp("^sub +"))==0 && func_on)
+ if(cl.find(QRegExp ("^sub +(?!.+;)"))==0 && func_on)
{
QString stripped=cl.replace( QRegExp("^sub +"), "" );
stripped=stripped.replace( QRegExp("[{;] *$"), "" );

I apologise that the formatting (no PRE and tabs) on the diff above is wrong, but I think you see the diff.

Thanks!
Jostein - Mar 19 2007
KClipSpellApplet

Utilities by garycramblitt 8 comments

What can I say? I just love this applet! :-)

Jostein - Nov 25 2005
7.7
9   Feb 05 2011
SYL Remix

Plasma Themes
by savylion

7.8
9   Feb 05 2011