Zeus Forum Index Zeus
Use this forum to ask for help, submit a bug report or make a suggestion.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Code folding request for Informix 4gl
Goto page Previous  1, 2
 
Post new topic   Reply to topic    Zeus Forum Index -> Code Folding
View previous topic :: View next topic  
Author Message
jussij
Site Admin


Joined: 13 Aug 2004
Posts: 1445

PostPosted: Tue Jun 23, 2009 12:27 am    Post subject: Reply with quote

Hi Mark,

Here is another version to try out: http://www.zeusedit.com/z300/xFolder.zip

Cheers Jussi
Back to top
View user's profile Send private message Send e-mail
Mark Peenstra



Joined: 09 Apr 2007
Posts: 15

PostPosted: Tue Jun 23, 2009 1:34 pm    Post subject: Code folding Reply with quote

Jussi;

I think we are there. There is an inconsistency allowed by the program that the END CONSTRUCT is optional (in some cases). If you have a CONSTRUCT and no END CONSTRUCT, the folding of course goes beyond where it should, but there is no way to tell it where to stop.

We will just have to be aware of this and put in the End Construct if we see that it is folding too far.

Thanks for all your help. This will be a nice addition to the editor for us!
Mark

PS: Is there a way in a macro or a keystroke to have it fold or unfold all of the folding points? Like if you are editing a file, and want to view the whole thing without any folded sections. It looks like you can save and close the file and then reload it and this will happen.
Thanks
Back to top
View user's profile Send private message
jussij
Site Admin


Joined: 13 Aug 2004
Posts: 1445

PostPosted: Tue Jun 23, 2009 2:17 pm    Post subject: Reply with quote

Quote:
PS: Is there a way in a macro or a keystroke to have it fold or unfold all of the folding points?

See the view, folding menu.

Also since all of the main menus map to a keyboard function, anything that can be done via the menu can also be done via the keyboard or macro.

The easiest way to find out which keyboard function maps to what menu is to use the macros menu to record a macro, use the the menu in question, stop the recording and then view the source of the macro using the macros, view source menu.

Quote:
Like if you are editing a file, and want to view the whole thing without any folded sections. It looks like you can save and close the file and then reload it and this will happen.

There is an option to open all folds on the menu qutoed above Wink

Cheers Jussi
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Zeus Forum Index -> Code Folding All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group