What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [release] JavaScript and PHP syntax highlighting...

[release] JavaScript and PHP syntax highlighting...
Author: Message:
the DtTvB
Junior Member
**


Posts: 47
Reputation: 10
– / Male / –
Joined: Mar 2007
Status: Away
O.P. [release] JavaScript and PHP syntax highlighting...
This script is not yet stable. Please report bugs and suggestions!

--=--=--=--=--=--=--=--=--=--=--=--

Download: http://dttvb.yi.org/js-php-hi.plsc

Example:
[Image: asdhas.gif]

--=--=--=--=--=--=--=--=--=--=--=--

This script will highlight JavaScript and PHP syntax.

Features:
  • Uhhh...
  • Highlight strings, comments, and inline regexp. Does not use regular expression, so it should handle strings more correctly.[/font]
  • Highlight numbers.
  • Highlight keywords.
  • Highlight members. It highlights thing that follows '.', '::', or '->'. It also highlight something before ':', but not '::'.
  • Highlight functions. Something before '('.
  • Highlight parentheses. ( ) { } [ ].
  • Highlight PHP variables. Something after $.

--=--=--=--=--=--=--=--=--=--=--=--

How to use...
Use the /code command.
/code <a code to highlight>

--=--=--=--=--=--=--=--=--=--=--=--

If you don't like the colors, you can change them by editing the script. Near the line #21.
I still use the old formatting way because some of my friends prefer not to use WLM. But it could be easily changed!


the DtTvB
.
03-09-2007 11:01 AM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[release] JavaScript and PHP syntax highlighting... - by the DtTvB on 03-09-2007 at 11:01 AM
RE: [release] JavaScript and PHP syntax highlighting... - by matty on 03-09-2007 at 03:55 PM
RE: [release] JavaScript and PHP syntax highlighting... - by mickael9 on 03-09-2007 at 07:55 PM
RE: [release] JavaScript and PHP syntax highlighting... - by the DtTvB on 03-10-2007 at 02:29 AM
RE: [release] JavaScript and PHP syntax highlighting... - by Matti on 03-10-2007 at 09:13 AM
RE: [release] JavaScript and PHP syntax highlighting... - by Eddie on 03-10-2007 at 10:21 AM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On