HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Coolers Beta Jass Editor

04-27-2004, 10:42 PM#1
COOLer
I was fooling around with my Html editor and i added some sytax hiliging code that I edited. Rirght now it is extreamly beta so all it can do is open close save and simple sytax hilighiting.

bugs so far
1. If number is next to keyword it is still hilighted.
2. Lag in big files
3. updates hilighting only text on currently seen.
Its in VB beacuse that the only proggraming lag i know how to display text files andd edit i know how to do some java gui but it would of took 10x longer to get this far.
04-28-2004, 03:20 AM#2
Narwanza
Cooler, whatevery you do, make sure of three things.

1. Customizable sytax highlighting

2. It uses PJASS to check syntax (it is the best I know of)

3. Give the line on which the code failed

If you can get these three things working, it will be an awsome program.

[edit]Hmm... interesting, my 666th post. Must be my lucky day ;)
04-28-2004, 08:47 PM#3
COOLer
1.5 Beta
whats new?

1. Code Stubs for if loops and functions
2. Auto Colors all Code on Opening file now
3. lags cut to 1/8 of what it was.
4. added add you own Fuction Hilight option
just enter the name then hit add to hilight.
5. Added gui C&P .
6. allowed user to use TABS.
next version ???
1. Try to add simple syntax check
2. Add auto code tip of the day.
3. add more Fuction templets.
04-29-2004, 02:33 AM#4
Narwanza
Cooler, if you can check it with PJASS that would be awsome. I don't know much about prog programming, but it would be cool.
04-29-2004, 09:58 AM#5
PitzerMike
Quote:
Originally Posted by Narwanza
Cooler, if you can check it with PJASS that would be awsome. I don't know much about prog programming, but it would be cool.

Well, that's not difficult, as PJAss is a command line app. Cooler would simply have to shell it with the proper parameters.
04-29-2004, 10:40 PM#6
COOLer
If you would explain The api needed For this in vb I would be glad to add Pjass.
05-01-2004, 05:58 AM#7
Narwanza
Cubasis knows, I think, and AIAndy should know also. I don't know, sorry.
05-01-2004, 07:23 PM#8
COOLer
Here is an updated version that uses pjass Its a little slow thou.
05-01-2004, 08:58 PM#9
AnarkiNet
hmmm heres an idea:
would it be possible to somehow integrate it with an MPQ editing program, so that you could save it "into" a map?
ie, you could "load" a map into the jass editor, and it would grab that map's war3map.j file, then when you save it, it would insert it back into the map?
just an idea, i dont know if it would be too hard or not work or what but...might be interesting.
05-01-2004, 10:31 PM#10
Narwanza
Cooler, this definitly needs to resize with the window size. I like to have my stuff full screen. Ack, it dies when I try to open my .txt file of my functions. It is only about 500 lines long, shouldn't kill it.
05-02-2004, 12:06 AM#11
COOLer
i was able to open Common j (it took 2 minets to load) with it make shure all file are in same folder
ill add resize soon Heres an update with line Count.
if you post the text file ill try to find the bug.
05-02-2004, 12:13 AM#12
COOLer
Ok i was able to open blizzard J with it it took 5 minets its over 9000 lines of code
It only takes up time when loading because it my coloize whole file when you type it only coloizes the currt area about 50 lines of code.
05-02-2004, 02:24 PM#13
Narwanza
Cooler, you have to find a way to change the fact that it takes 5 minutes to load. Right now it is a great tool, and I plan to use it, but I can't because it takes forever to load my myfuncs.txt. I am attaching the .txt, but that isn't really the problem. If I try to CnP more than 20 lines of text, it basically freezes on me. Right now I have been waiting for it to colorize 3 functions (not extrememly large) and it has been about 3 minutes. It did open the common.j in about 2 minutes though. I tried kattana's jass editor, and his colorize seemed to be much more efficient. I'm not bashing your work though, I think you have done a wonderful job with it, I am just trying to provide helpful tips. Also, a nice addition would be auto-tabs, and a auto tab setter so that I could set how many spaces I wanted the tabs to be, and also a custom syntax coloring thingie like UltraEdit has. GJ so far cooler.
05-02-2004, 06:13 PM#14
COOLer
Im sure its My Vb api Calls (Mircosofts evil doing)
But your size file should open no problem cause i could open common.j
i think its eather a wird char in your file or that theres a char that my syntax
color gets cought on i found a bug with < and > a while agp in version 1.00

edit found the Bug the / char is caseing Major problems beacuse // is a comment ill try to fix
05-02-2004, 07:08 PM#15
COOLer
K Fixed it it will load your file np in less then 1 minet.