On new IDE, all my SUBs are a mess in right LIST window. Look at note 1 on the screen.
Also, the game did not compile. Just a white zone on the OUTPUT window.
Note 2 on screen: if you left no-space between SUBs or // and folf/unfold, the line after the ENDSUB will be located right after the ENDSUB command. If you keep folding/unfolding, again the next line will be added to the end of previous one, and you will get the same result as NOTE 3 on my screen capt.
Check your TYPE definitions. They seem broken, too?
The mess on Jump list on right side are only in new IDE.
The fold/unfold bug is in last and previous GLB version.
My type definition is as follow at the beginning of the source:
TYPE Mouse;x;y;b1;b2;bl;ENDTYPE
GLOBAL mouse AS Mouse, fps%
TYPE casillas;x;y;tipo;explo;delay;vida;anim#;ENDTYPE
If I change the code to
TYPE Mouse;x;y;b1;b2;bl;ENDTYPE
GLOBAL mouse AS Mouse, fps%
TYPE casillas;x;y;tipo;explo;delay;vida;anim#
ENDTYPE
The jump list just is fine. :good:
It doesnt matter if your program is made "silly proff", silly people is very creative
Will test later if the fold/unfold bug is still there and how to replicate exactly.
BTW, are types definition a must on the beginning of the main file, or can be defined any place? I tried a "gosub definetypes" and it didnt work (I hate to have the beginning of my source full of declarations...)
You can define types anywhere. Also in another file.
Its odd - I dont get types listed in the Jumps list. I do get functions in types though, which is good...
New SUB's are put in at the current cursor position, and not at the end of the file.
No, the listed thing was my SUBs, but the type def (compressed mode :S) was making the bug.
I get strange characters with functions in types now :)