The Helper Forums
The Helper offers free technical support for computer games,
computer hardware, and other computer software. Staffed
by volunteer tech support workers, The Helper is highly
regarded as a premium destination for those who are
experiencing technical problems with their computers.
Affiliate Sites
Warcraft 3 World Editor Tutorials - The Greatest Resource for the new Warcraft 3 Mapper
Silkroad Online Forums
Houston Microsoft Access, VBA and Visual Basic Programming
The source for NUON news, information, and games.
Griffonrawl Muay Thai and MMA
Warcraft 3 Modding Site.
Element Tower Defense by Karawasa.
Topaz Games.
Chernobyl Lost Riddles

Able Auto Glass specializes in Houston Auto Glass Replacement as well as windshield repair and replacement services.
Apex Steel Pipe - Buys and sells Used Steel Pipe.

Go Back   The Helper Forums > Starcraft II Zone > Starcraft II Editor

Reply
 
Thread Tools Display Modes
  #1  
Old March 3rd, 2010, 01:09 PM
Vestras's Avatar
Vestras Vestras is offline
kekekeke
 
Join Date: Nov 2007
Location: Denmark
Posts: 2,624
Vestras <--- Pretty Cool (+500)Vestras <--- Pretty Cool (+500)Vestras <--- Pretty Cool (+500)Vestras <--- Pretty Cool (+500)Vestras <--- Pretty Cool (+500)Vestras <--- Pretty Cool (+500)
Galaxy Syntax Highlighter

Here you have it, the Galaxy syntax highlighter. Nothing special, just syntax highlighting and some other minor features. Just a placeholder while you guys wait for Moonlite to come out

Anyways, the only thing it requires is the .Net framework 3.5.
How to use:
  1. Download the .zip;
  2. Extract it;
  3. Run "gxsh.exe";
  4. Done!

Enjoy

EDIT: Language file developer is now Lyerae!
Attached Files
File Type: zip GalaxySH.zip (192.4 KB, 65 views)

Last edited by Vestras; March 5th, 2010 at 06:07 AM.
Reply With Quote
  #2  
Old March 4th, 2010, 02:34 PM
themean themean is offline
Junior Member (Am I really helping anyone?)
 
Join Date: Aug 2009
Location: Bulgaria
Posts: 202
themean has received some positive rep  (+10)
may i don't have framework 3.5 because don't work
Reply With Quote
  #3  
Old March 4th, 2010, 03:25 PM
UndeadDragon's Avatar
UndeadDragon UndeadDragon is offline
Lorem Ipsum Dolor Sit.
 
Join Date: Aug 2007
Location: England (GMT +0)
Posts: 3,818
UndeadDragon has a reputation beyond repute (+1000)UndeadDragon has a reputation beyond repute (+1000)UndeadDragon has a reputation beyond repute (+1000)UndeadDragon has a reputation beyond repute (+1000)UndeadDragon has a reputation beyond repute (+1000)UndeadDragon has a reputation beyond repute (+1000)UndeadDragon has a reputation beyond repute (+1000)UndeadDragon has a reputation beyond repute (+1000)UndeadDragon has a reputation beyond repute (+1000)UndeadDragon has a reputation beyond repute (+1000)
Quote:
Originally Posted by themean View Post
may i don't have framework 3.5 because don't work
It works for me, so you may not have it. What OS version are you running?
__________________
/ .-. .-. .-. .-. .-. .-. .-. .-. .-. .-. \
//I am a web designer. Clicky Clicky.\\
/ .-. .-. .-. .-. .-. .-. .-. .-. .-. .-. .-. .-. \
Reply With Quote
  #4  
Old March 4th, 2010, 03:42 PM
Lyerae Lyerae is offline
Hai.
 
Join Date: May 2009
Posts: 1,882
Lyerae seems to have the helping tendency (+150)Lyerae seems to have the helping tendency (+150)
How much does this highlight?
Reply With Quote
  #5  
Old March 5th, 2010, 01:39 AM
Vestras's Avatar
Vestras Vestras is offline
kekekeke
 
Join Date: Nov 2007
Location: Denmark
Posts: 2,624
Vestras <--- Pretty Cool (+500)Vestras <--- Pretty Cool (+500)Vestras <--- Pretty Cool (+500)Vestras <--- Pretty Cool (+500)Vestras <--- Pretty Cool (+500)Vestras <--- Pretty Cool (+500)
Quote:
Originally Posted by Lyerae View Post
How much does this highlight?
Not types/natives/anything where there is much of it. Only keywords. So I guess yours is better.
Reply With Quote
  #6  
Old March 5th, 2010, 02:19 AM
Lyerae Lyerae is offline
Hai.
 
Join Date: May 2009
Posts: 1,882
Lyerae seems to have the helping tendency (+150)Lyerae seems to have the helping tendency (+150)
Eh, not really. It's stopped highlighting keywords I've put in it.
If you make this take the language definition from an .xml (or other format), I'll just work on that instead.
Reply With Quote
  #7  
Old March 5th, 2010, 05:51 AM
Vestras's Avatar
Vestras Vestras is offline
kekekeke
 
Join Date: Nov 2007
Location: Denmark
Posts: 2,624
Vestras <--- Pretty Cool (+500)Vestras <--- Pretty Cool (+500)Vestras <--- Pretty Cool (+500)Vestras <--- Pretty Cool (+500)Vestras <--- Pretty Cool (+500)Vestras <--- Pretty Cool (+500)
Quote:
Originally Posted by Lyerae View Post
Eh, not really. It's stopped highlighting keywords I've put in it.
If you make this take the language definition from an .xml (or other format), I'll just work on that instead.
It already does It's just an embedded resource inside the .dll.
I can make it a file instead of a resource, so you can edit it.

Uploaded new version for you, Lyerae. If you want examples of how *.lang files are built, download my Storm framework and look in the Storm.TextEditor project. There are multiple languages in the Languages folder. (You'll need Visual C# or Visual Studio) Happy language developing

Last edited by Vestras; March 5th, 2010 at 06:08 AM.
Reply With Quote
  #8  
Old March 5th, 2010, 01:44 PM
Lyerae Lyerae is offline
Hai.
 
Join Date: May 2009
Posts: 1,882
Lyerae seems to have the helping tendency (+150)Lyerae seems to have the helping tendency (+150)
Cool. I'll get to that as soon as my wireless starts working on my laptop.

Edit: AH these .lang files are weird. Not unmanageable though.
You should try making some sort of "Editor" to create and edit these files.

Last edited by Lyerae; March 5th, 2010 at 03:29 PM.
Reply With Quote
  #9  
Old March 5th, 2010, 03:50 PM
Lyerae Lyerae is offline
Hai.
 
Join Date: May 2009
Posts: 1,882
Lyerae seems to have the helping tendency (+150)Lyerae seems to have the helping tendency (+150)
This should have everything I have so far.

I have a few questions though:
1. Is it possible to create new "Pattern (Group)", without it crashing? I had tried to, to separate the keywords to make the highlighting better, but when I tried it, it crashed. :/
2. Can the "ForeColor" element hold colorcodes?

Last edited by Lyerae; June 13th, 2010 at 12:28 PM.
Reply With Quote
  #10  
Old March 6th, 2010, 12:14 AM
Vestras's Avatar
Vestras Vestras is offline
kekekeke
 
Join Date: Nov 2007
Location: Denmark
Posts: 2,624
Vestras <--- Pretty Cool (+500)Vestras <--- Pretty Cool (+500)Vestras <--- Pretty Cool (+500)Vestras <--- Pretty Cool (+500)Vestras <--- Pretty Cool (+500)Vestras <--- Pretty Cool (+500)
1. It is very possible to create more PatternGroups, how did you do it?
2. Yeah, it can, but the format is very strict: "R, G, B", must have spaces, MUST have 3 values.

Also, you can always add more styles You don't have to make it look like it does now.
Also, although the current list does work, it is recommended that each keyword is on its own line.
Reply With Quote
  #11  
Old March 6th, 2010, 12:31 AM
Lyerae Lyerae is offline
Hai.
 
Join Date: May 2009
Posts: 1,882
Lyerae seems to have the helping tendency (+150)Lyerae seems to have the helping tendency (+150)
Quote:
Originally Posted by Vestras View Post
1. It is very possible to create more PatternGroups, how did you do it?
2. Yeah, it can, but the format is very strict: "R, G, B", must have spaces, MUST have 3 values.

Also, you can always add more styles You don't have to make it look like it does now.
Also, although the current list does work, it is recommended that each keyword is on its own line.
1. I just copied one, and renamed it.
2. So, like #00 00 00?

And I'll add them all to a single line soon as I've got some spare time.

Edit: Also, does your XML parser ignore comments (<!-- comment -->)? (just makin' sure)

Last edited by Lyerae; March 6th, 2010 at 12:43 AM.
Reply With Quote
  #12  
Old March 6th, 2010, 08:02 AM
Vestras's Avatar
Vestras Vestras is offline
kekekeke
 
Join Date: Nov 2007
Location: Denmark
Posts: 2,624
Vestras <--- Pretty Cool (+500)Vestras <--- Pretty Cool (+500)Vestras <--- Pretty Cool (+500)Vestras <--- Pretty Cool (+500)Vestras <--- Pretty Cool (+500)Vestras <--- Pretty Cool (+500)
1. Yeah, but where to?
2. No, like "0, 0, 0"

Yes, it ignores comments.
Reply With Quote
  #13  
Old March 6th, 2010, 12:38 PM
Lyerae Lyerae is offline
Hai.
 
Join Date: May 2009
Posts: 1,882
Lyerae seems to have the helping tendency (+150)Lyerae seems to have the helping tendency (+150)
1. Right below the "Keywords".
2. 'Kay.

Alright.
Reply With Quote
  #14  
Old March 8th, 2010, 01:57 AM
Vestras's Avatar
Vestras Vestras is offline
kekekeke
 
Join Date: Nov 2007
Location: Denmark
Posts: 2,624
Vestras <--- Pretty Cool (+500)Vestras <--- Pretty Cool (+500)Vestras <--- Pretty Cool (+500)Vestras <--- Pretty Cool (+500)Vestras <--- Pretty Cool (+500)Vestras <--- Pretty Cool (+500)
1. Show me your Xml
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 10:50 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.