Nekit1234007 / cjass

Automatically exported from code.google.com/p/cjass
0 stars 0 forks source link

Project Horus Sourcecode? Added #35

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Since there is no way of contacting otherwise...
Is the Horus Sourcecode available somewhere?

Original issue reported on code.google.com by erwgfifo...@gmail.com on 19 Aug 2011 at 9:06

GoogleCodeExporter commented 9 years ago
As I know VanDamm (author of the Horus) just edit resource section of some tesh 
dll. And he promised to update the Horus to release of cJass (~september).

Original comment by adi...@gmail.com on 20 Aug 2011 at 5:45

GoogleCodeExporter commented 9 years ago

Original comment by adi...@gmail.com on 20 Aug 2011 at 5:45

GoogleCodeExporter commented 9 years ago
Tell him to include the source then :)

Original comment by erwgfifo...@gmail.com on 20 Aug 2011 at 5:47

GoogleCodeExporter commented 9 years ago
Most of functions I use are my own functions, not from b.j or c.j. They do not 
receive any highlighting at all :(

Can you make an option to add your own highlighting? That would be most awesome.

Original comment by evgkoc...@gmail.com on 20 Aug 2011 at 11:21

GoogleCodeExporter commented 9 years ago
OK, I'm here and waiting for ADOLF to provide me commit rights for project 
repo. I'll commit the source as soon as I can :)

Original comment by vand...@lol-game.ru on 20 Aug 2011 at 11:40

GoogleCodeExporter commented 9 years ago
> Most of functions I use are my own functions, not from b.j or c.j. They do 
not receive any highlighting at all :(

AFAIR, you can place a file with your functions to <JNGP>/tesh/includes/ and 
they should be highlighted.

Original comment by vand...@lol-game.ru on 20 Aug 2011 at 2:39

GoogleCodeExporter commented 9 years ago
hmm, indeed it works. 

Another question - how can I change the style of highlighting of custom 
functions? I can't find it in the "Style options". The default highlighting is 
ugly (color is aqua and underlined O.o)

Original comment by evgkoc...@gmail.com on 20 Aug 2011 at 3:44

GoogleCodeExporter commented 9 years ago
List of not-highlighted keywords:

// preprocessor
#for #endfor #repeat #endrepeat #sysinit #undef #setdef

// blocks
for endfor forp endforp do enddo while endwhile whilenot endwhilenot

// functions types
lambda callback

// functions
// all for conditions
UnitsOfType (string unitname)
UnitsOfPlayer (player p)
... 
UnitsInGroup (group g)
// all callback
onInit ()
onUnitAttacked ()
...
// counter
CounterInc()
CounterReset()

// constans
DATE TIME DEBUG COUNTER COUNTER_ST WEATHER_ON_MARS WAR3VER FUNCNAME 
AUTOFLUSH_LOCALS DEF_BOOLEXPR_TRUE DEF_BOOLEXPR_TRUE_FUNC IS_CUSTOM_BJ 
IS_CUSTOM_CJ

Original comment by adi...@gmail.com on 20 Aug 2011 at 6:26

GoogleCodeExporter commented 9 years ago
Not sure if it's the right place to report, but there are a few problems with 
code folding. 

In TESH options, checkbox "Only fold functions and globals" doesn't work. It 
still folds libraries and structs even if it's checked...

I think folding libraries should be disabled by default, because it's quite 
natural to have one trigger for one library. No need to fold it apparently? :P

while (cond) -- endloop does not fold correctly, although syntactically correct.
Not much of a problem, since you can just use {} syntax.

I also think "save scroll position" can be greatly enhanced in long trggers 
with code folding. It should remember which funcs were unfolded and unfold them 
when you return to the trigger. That would be sooo handy.

Original comment by evgkoc...@gmail.com on 20 Aug 2011 at 6:49

GoogleCodeExporter commented 9 years ago
evgkochin, please file new bugs regarding any issues regarding Horus project.

Original comment by vand...@lol-game.ru on 20 Aug 2011 at 7:32