That will patch your source tree.. then just configure, make, install.
I've actually tested this one, so go nuts people. Please let me know if you find any functions that should be keywords or keywords that shouldn't be keywords, or functions/keywords that just plain aren't in the list.
I sumbitted a similar patch to the Quanta team about a week ago. It may appear in an upcoming release, possibly Quanta 3, which will come with KDE 3.0.
A few other additions I made:
- highlighting is now case-insensitive for everything. I believe older versions were case-sensitive for keywords, like function, class, etc.
- support for ASP-style opening and closing tags (<% and %> instead of <?php, <?, etc.)
I'm also working on porting a newer editor from Kate/ktexteditor into Quanta. It's been slow going, but things have picked up (it compiles and runs now, albeit with a bunch of segfaults). This will make adding syntax highlighting instructions much easier, as the latest versions of Kate allow you to define highlighting rules in XML files, and the highlighting instructions are set up at run-time rather than compile time.
Maybe over the XMas break I'll be able to finish it up.
That will patch your source tree.. then just configure, make, install.>
I've actually tested this one, so go nuts people. Please let me know> if you find any functions that should be keywords or keywords that> shouldn't be keywords, or functions/keywords that just plain aren't in> the list.>
Mike Eheler 20 December 2001 22:07:38 [ permanent link ]
Cool, however PHP is not case sensitive, nor is ASP or HTML for that matter, therefore case sensitive syntax highlighting will not be good for these languages.
Mike
J Smith wrote:
I sumbitted a similar patch to the Quanta team about a week ago. It may > appear in an upcoming release, possibly Quanta 3, which will come with KDE > 3.0.>
A few other additions I made:>
- highlighting is now case-insensitive for everything. I believe older > versions were case-sensitive for keywords, like function, class, etc.>
- support for ASP-style opening and closing tags (<% and %> instead of > <?php, <?, etc.)>
I'm also working on porting a newer editor from Kate/ktexteditor into > Quanta. It's been slow going, but things have picked up (it compiles and > runs now, albeit with a bunch of segfaults). This will make adding syntax > highlighting instructions much easier, as the latest versions of Kate allow > you to define highlighting rules in XML files, and the highlighting > instructions are set up at run-time rather than compile time. >
Maybe over the XMas break I'll be able to finish it up.>
That will patch your source tree.. then just configure, make, install.>>
I've actually tested this one, so go nuts people. Please let me know>>if you find any functions that should be keywords or keywords that>>shouldn't be keywords, or functions/keywords that just plain aren't in>>the list.>>
Cool, however PHP is not case sensitive, nor is ASP or HTML for that> matter, therefore case sensitive syntax highlighting will not be good> for these languages.>
Mike>
J Smith wrote:>
I sumbitted a similar patch to the Quanta team about a week ago. It may> > appear in an upcoming release, possibly Quanta 3, which will come with KDE> > 3.0.> >
A few other additions I made:> >
- highlighting is now case-insensitive for everything. I believe older> > versions were case-sensitive for keywords, like function, class, etc.> >
- support for ASP-style opening and closing tags (<% and %> instead of> > <?php, <?, etc.)> >
I'm also working on porting a newer editor from Kate/ktexteditor into> > Quanta. It's been slow going, but things have picked up (it compiles and> > runs now, albeit with a bunch of segfaults). This will make adding syntax> > highlighting instructions much easier, as the latest versions of Kate allow> > you to define highlighting rules in XML files, and the highlighting> > instructions are set up at run-time rather than compile time.> >
Maybe over the XMas break I'll be able to finish it up.> >
That will patch your source tree.. then just configure, make, install.> >>
I've actually tested this one, so go nuts people. Please let me know> >>if you find any functions that should be keywords or keywords that> >>shouldn't be keywords, or functions/keywords that just plain aren't in> >>the list.> >>
Mike> >>
--> PHP General Mailing List (http://www.php.net/)> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net> For additional commands, e-mail: php-general-help@lists.php.net> To contact the list administrators, e-mail: php-list-admin@lists.php.net
And variable names are not syntax highlighted specifically (other than the fact that variables are highlighted). So by case-sensitizing keyword and function references, that is making a lot of scripts *not* syntax highlight properly, because only people who use FALSE will be highlighted, while people who use False or false or even FalsE will be left in the dark.
Or perhaps you prefer to code using MySQL_Connect().. people driven to PHP from ASP might code like this when they start.
Cool, however PHP is not case sensitive, nor is ASP or HTML for that>>matter, therefore case sensitive syntax highlighting will not be good>>for these languages.>>
Mike>>
J Smith wrote:>>
I sumbitted a similar patch to the Quanta team about a week ago. It may>>>appear in an upcoming release, possibly Quanta 3, which will come with KDE>>>3.0.>>>
A few other additions I made:>>>
- highlighting is now case-insensitive for everything. I believe older>>>versions were case-sensitive for keywords, like function, class, etc.>>>
- support for ASP-style opening and closing tags (<% and %> instead of>>><?php, <?, etc.)>>>
I'm also working on porting a newer editor from Kate/ktexteditor into>>>Quanta. It's been slow going, but things have picked up (it compiles and>>>runs now, albeit with a bunch of segfaults). This will make adding syntax>>>highlighting instructions much easier, as the latest versions of Kate allow>>>you to define highlighting rules in XML files, and the highlighting>>>instructions are set up at run-time rather than compile time.>>>
Maybe over the XMas break I'll be able to finish it up.>>>
That will patch your source tree.. then just configure, make, install.>>>>
I've actually tested this one, so go nuts people. Please let me know>>>>if you find any functions that should be keywords or keywords that>>>>shouldn't be keywords, or functions/keywords that just plain aren't in>>>>the list.>>>>
Mike>>>>
-->>PHP General Mailing List (http://www.php.net/)>>To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net>>For additional commands, e-mail: php-general-help@lists.php.net>>To contact the list administrators, e-mail: php-list-admin@lists.php.net>>
If you would like to report an abuse of our service, such as a spam message, please . Если Вы хотите пожаловаться на содержимое этой страницы, пожалуйста .