Bug#47120: php syntax highlighting broken after a # sign

Ludwig Ruderstaller <[email protected]> 30 Aug 2002 10:27:23 +0200
Newsgroups gmane.comp.kde.devel.kate
Message-ID <1030696043.9293.190.camel@enterprise>
Hi,

see the attached picture.

It only happens with the PHP highlight. e.g. with the Perl highlight it
parses the # sign as comment.

Ludwig

On Thu, 2002-08-29 at 01:14, Joseph Wenninger wrote:
> Hi
> 
> Can somebody reproduce this ?
> It doesn't happen here.
> 
> Kind regards
> Joseph Wenninger
> 
> On Wednesday 28 August 2002 16:19, [email protected] wrote:
> > Package: kate
> > Version: 2.0 (using KDE 3.0.7 )
> > Severity: normal
> > Installed from:    Compiled From Sources
> > Compiler:          gcc version 3.1.1
> > OS:                Linux
> > OS/Compiler notes: Compilier Flags:  -march=i686 -O3 -m3dnow -msse
> > -mfpmath=sse -mmmx -fomit-frame-pointer -pipe
> >
> > Hi,
> >
> > php syntax highlighting broken after a # sign.
> >
> > e.g.
> >
> > <?php
> > $foo=$bar;
> > # Syntax Highligh stops after this comment
> > $bar=$foo;
> > ?>
> >
> > If I use // instead of # all wenn normal.
> >
> > If you close php ( ?> ) and start it again (<?php ?>) Syntax highlighting
> > works until the next #.
> >
> > If you need future information let me know!
> >
> > Ludwig
> >
> > P.S: Syntax Highlight looks much better then in  previous version!! keep up
> > the good work.
> >
> >
> > (Submitted via bugs.kde.org)
> >
> >
> > (Complete bug history is available at http://bugs.kde.org/db/47/47120.html)
> > _______________________________________________
> > kde-kant mailing list
> > kde-kant@
> > http://mail.kde.org/mailman/listinfo/kde-kant
> 
-- 
Pixelwings Medien GmbH			Tel.   +43 1 524 58 50 -56
Kandlgasse 15/5				Fax    +43 1 524 58 50 -10
A-1070 Wien				Mobil: +43 669 11 35 23 78
http://www.pixelwings.com	       	Email: [email protected]

<Beeth> Girls are like internet domain names, the ones I like are
 	already taken.
<honx> 	well, you can stil get one from a strange country :-P
kate_highlighting.jpg (image/jpeg, 12.9 KB) - not displayed