What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » WLM Plus! Bug Reports » Script Editor Colouring

Script Editor Colouring
Author: Message:
phalanxii
Full Member
***


Posts: 146
Reputation: 5
32 / Male / Flag
Joined: Aug 2006
Status: Away
O.P. Script Editor Colouring
This a very minor "visual" bug that doesn't affect the function of MP!L at all.

The colouring in the script editor becomes confused when using quotation marks are used in regular expressions. According to MSDN, the quotation mark character in a regular expression is not a special character (but rather a literal character). This means that a quotation mark in a regular expression literally matches a quotation mark, as opposed to a string.

The script editor colouring however gets confused and colours it as the beginning of a string. For example:
code:
Debug.Trace(/"/.test("\""));
The script debugging shows no errors (and displays True), so I'm fairly sure that there's no problem with the syntax.

Thanks for your attention. (Y)
01-01-2007 06:24 AM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Script Editor Colouring - by phalanxii on 01-01-2007 at 06:24 AM
RE: Script Editor Colouring - by deAd on 01-01-2007 at 07:45 PM
RE: Script Editor Colouring - by CookieRevised on 01-01-2007 at 08:08 PM
RE: Script Editor Colouring - by phalanxii on 01-30-2007 at 11:08 AM
RE: Script Editor Colouring - by CookieRevised on 01-30-2007 at 11:35 PM
RE: Script Editor Colouring - by ddunk on 01-30-2007 at 11:39 PM
RE: Script Editor Colouring - by CookieRevised on 01-30-2007 at 11:43 PM
RE: Script Editor Colouring - by phalanxii on 01-31-2007 at 04:40 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