What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [Release] Programming Language Keywords Script

Pages: (3): « First « 1 [ 2 ] 3 » Last »
[Release] Programming Language Keywords Script
Author: Message:
alexp2_ad
Scripting Contest Winner
****

Avatar
Who love the chocolate?

Posts: 691
Reputation: 26
37 / Male / –
Joined: May 2004
Status: Away
RE: [Release] Programming Language Keywords Script
Good script... couple things:

* Default code colour should be black imo, and not your text colour.  That's nice and easy to do.
* More importantly, when you add tags to your script, make them compatible with the [n] tags!
07-10-2006 09:16 AM
Profile E-Mail PM Find Quote Report
Paril
Junior Member
**

Avatar
Admin of Paril's Projects

Posts: 69
31 / Male / Flag
Joined: Jul 2006
O.P. RE: [Release] Programming Language Keywords Script
quote:
It's a great script but I'm missing colored literals.

And maybe a way to define your own colors?[/code]

Actually, yes, there will be next version.. you read my mind >>;;

quote:
Originally posted by J-Thread
Make that J-Thread(Y);) It is good to hear I helped you!!:D

It is a great script, this is really really usefull!!! I think this will be the script that I use the most:D

Alright, I will edit it.
Thanks for the feedback. I do like the script myself, and I use it alot.

quote:
Originally posted by Nitrolinken
Great work!

This is really useful! Thanks :)

Ditto, thanks :)

EDIT:

quote:
Originally posted by alexp2_ad

* Default code colour should be black imo, and not your text colour.  That's nice and easy to do.
* More importantly, when you add tags to your script, make them compatible with the [n] tags!
[/code]
Well, the default colour for most applications for syntax highlighting is blue, and I seem to like it.
You will be able to select your colours, later on, next version.

EDIT:
The script uses the [c] tag to color, so no matter what, the script won't work with [n] >>'


-Paril

This post was edited on 07-10-2006 at 01:12 PM by Paril.
07-10-2006 01:04 PM
Profile E-Mail PM Web Find Quote Report
Silentdragon
Full Member
***

Avatar
if(life==null && wrists) EmoAlert();

Posts: 148
Reputation: 2
34 / Male / –
Joined: Jun 2006
RE: [Release] Programming Language Keywords Script
I think he means if its not a keyword make that text black instead of it being the regular font color, I mean hey I know plenty of people who use blue which would defeat the purpose of syntax highlighting.

And I think I deserve a bit more credit than helping you, so its unfair you say you wrote the script. We more of co-wrote it.
07-10-2006 07:49 PM
Profile E-Mail PM Web Find Quote Report
NiteMare
Veteran Member
*****

Avatar
Giga-Byte me

Posts: 2497
Reputation: 37
37 / Male / Flag
Joined: Aug 2003
RE: [Release] Programming Language Keywords Script
nice script, (y), very useful
[Image: sig/]
I'll never forget what she said 6861 days, 2 hours, 55 minutes, 37 seconds ago
Need hosting? Check
out my website. we can help you out :)
07-10-2006 08:02 PM
Profile PM Web Find Quote Report
alexp2_ad
Scripting Contest Winner
****

Avatar
Who love the chocolate?

Posts: 691
Reputation: 26
37 / Male / –
Joined: May 2004
Status: Away
RE: RE: [Release] Programming Language Keywords Script
quote:
Originally posted by Paril

Well, the default colour for most applications for syntax highlighting is blue, and I seem to like it.
You will be able to select your colours, later on, next version.

EDIT:
The script uses the [c] tag to color, so no matter what, the script won't work with [n] >>'

-Paril

You misunderstood both my suggestions. :P  You should set the default, non-highlighted text to black, eg variable names etc.

And the [n] tag, you should make it so the n tag shows what you have entered, so if I put in an n tag, my contacts will see [code= jscript]function cheese(){ return "cheese"; }[ /code]  and not the highlighted version... it should show it as I typed it, not replaced, not highlighted, not changed.  I know that isn't particularly useful but it's just good coding practice for tags.

This post was edited on 07-10-2006 at 09:41 PM by alexp2_ad.
07-10-2006 09:40 PM
Profile E-Mail PM Find Quote Report
Paril
Junior Member
**

Avatar
Admin of Paril's Projects

Posts: 69
31 / Male / Flag
Joined: Jul 2006
O.P. RE: [Release] Programming Language Keywords Script
Oh, Thanks.

Yeah, I was thinking of that, but next version supports color changing ;)

About the [n] tag, it'll take a while, but I'll see what I can do for you :)
07-10-2006 11:07 PM
Profile E-Mail PM Web Find Quote Report
Paril
Junior Member
**

Avatar
Admin of Paril's Projects

Posts: 69
31 / Male / Flag
Joined: Jul 2006
O.P. RE: [Release] Programming Language Keywords Script
quote:
Originally posted by Silentdragon
And I think I deserve a bit more credit than helping you, so its unfair you say you wrote the script. We more of co-wrote it.

Yeah, I know, I couldn't think of the right thing to write under your name.. It's moreso our script, as you did do most of the code, because I didn't really know alot about how to use Jscript or consuming code.. :(


EDIT:
And about the black text, Yes, I know what he meant, just that I don't like people being limited to one color, which is why the next version will contain a configuration menu to change your colors (except the main text, just keywords, comments and strings).

This post was edited on 07-10-2006 at 11:36 PM by Paril.
07-10-2006 11:24 PM
Profile E-Mail PM Web Find Quote Report
J-Thread
Full Member
***

Avatar

Posts: 467
Reputation: 8
– / Male / –
Joined: Jul 2004
RE: [Release] Programming Language Keywords Script
quote:
J-Script - For the NickChange script, which was an inspiration on the menuing

Err LOL, that's not exactly how my name is spelled*-)
07-11-2006 07:08 AM
Profile E-Mail PM Find Quote Report
Paril
Junior Member
**

Avatar
Admin of Paril's Projects

Posts: 69
31 / Male / Flag
Joined: Jul 2006
O.P. RE: [Release] Programming Language Keywords Script
AHaha, sorry, I must of been typing something else at the same time >>;;


Update:
The new version is running smoothly, I'm still trying to get all of the colors in one list. The [n] tag fixer will also be in the next version. Expect a version out in a few days!

This post was edited on 07-11-2006 at 02:37 PM by Paril.
07-11-2006 02:26 PM
Profile E-Mail PM Web Find Quote Report
Silentdragon
Full Member
***

Avatar
if(life==null && wrists) EmoAlert();

Posts: 148
Reputation: 2
34 / Male / –
Joined: Jun 2006
RE: [Release] Programming Language Keywords Script
Well since he never decided to release the update, I will. [n] [/n] tags will omit parsing for colors for everything inside. Configuration Menu lets you style your Default, String, Comment, Keyword colors manually or through the little color dialog. If you want colors that are not choosable you have to do [c=#HexColor] for those ones. Stores your settings in registry, and provides a preview of your coloring styles in the window. I also updated the about window a bit. Enjoy.

Ps. I did the final touchups on linux so I dunno if it mangled the files are not. Someone test and see if the xml files are still unicode please.

.plsc File Attachment: Syntax Highlighter.plsc (21.18 KB)
This file has been downloaded 127 time(s).
07-17-2006 06:00 AM
Profile E-Mail PM Web Find Quote Report
Pages: (3): « First « 1 [ 2 ] 3 » Last »
« Next Oldest Return to Top Next Newest »


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