Shoutbox

[4.50] Script Editor Colouring - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: WLM Plus! Bug Reports (/forumdisplay.php?fid=7)
+----- Thread: [4.50] Script Editor Colouring (/showthread.php?tid=79843)

[4.50] Script Editor Colouring by roflmao456 on 12-09-2007 at 09:25 PM

i think this is a bug, not really major but could be annoying for developers =P (or maybe this also existed in 4.36?)


RE: [4.50] Script Editor Colouring by deAd on 12-09-2007 at 10:32 PM

This was reported during the beta, it is a limitation.


RE: [4.50] Script Editor Colouring by Patchou on 12-09-2007 at 10:43 PM

I must be tired becaue this looks like proper syntax coloring to me, \" should be a proper escape code.... ?


RE: [4.50] Script Editor Colouring by andrewdodd13 on 12-09-2007 at 11:29 PM

It's a double slash, so the colouring shouldn't change...I think. I'm tired as well. :)


RE: [4.50] Script Editor Colouring by MeEtc on 12-09-2007 at 11:32 PM

the second slash is the one that is supposed to be escaped, not the quote


RE: [4.50] Script Editor Colouring by Patchou on 12-10-2007 at 07:37 AM

ohhhh... ok, thank you... I was indeed tired.


RE: [4.50] Script Editor Colouring by markee on 12-10-2007 at 09:59 AM

You could also fix the quotation marks in regex too.... that bug has been there since 4.00

For example this will be coloured wrong....

code:
Message.replce(/"/g,"'");//Converts all double quotes to single quotes

I know this is a weak example, but I have seen the problem myself

You could also be nice and colour the regex for the people that like to use them (a)
RE: [4.50] Script Editor Colouring by Matti on 12-10-2007 at 12:04 PM

I know that! I always have that bug when I use my phpDesigner, but it seems like it never gets fixed. Quite annoying, yes, because the whole line gets highlighted incorrectly. :P

If Patchou can fix that, I'll ban phpDesigner and use Plus!' script editor instead! :D (please don't quote me... please... no!)