IonicWind Software

IWBasic => The Roundtable => Topic started by: fasecero on January 02, 2009, 04:46:03 AM

Title: a few things
Post by: fasecero on January 02, 2009, 04:46:03 AM
I am relatively new here, and navigating for old topics I found many interesting things, here go 3 for EB, maybe someone got lost them
 
- in the directory help of the program there is a version of the same help file in pdf. 
 
- you can use code folding by means of   
      'region something
      ... 
      (code) 
      ... 
      'endregion

- this is a jewel, if you continually use the Windows Api this program proposed by Larry McCaughn time ago will be of great help. Is called ApiViewer.
      http://www.ionicwind.com/forums/index.php/topic,2713.0.html
Title: Re: a few things
Post by: JohnP on January 03, 2009, 04:59:31 AM
fasecero,

Many thanks for the tips and reminders.

As a beginner, although I was vaguely aware of code-folding, I had never tried it myself and didn't know how to operate it.
So your email prompted me to investgate.
And it's really useful, thank you. ;D

But the only mention in the EBasic Help file is in the Using the Editor section, which just lists 'CTRL + KEYPAD *' as the means of using code-folding.
It didn't seem to do anything! >:(  What is it supposed to/does it do?  ???  I searched the forum, but again, no clues.

Knowing that the Editor was Scintilla-based, I eventually found the simple instructions on how to operate code-folding on their website.
Having marked the code using the 'region/'endregion identifiers, you just click on the minus sign in the left gutter alongside the code.
I found it also works with sub-routines. ;D

Unless I have missed something, Paul, it might be useful for newbies like me, to add a single sentence to the next version of the Help file on actually how to operate code-folding. ;)

regards
JohnP
Title: Re: a few things
Post by: Ionic Wind Support Team on January 03, 2009, 10:59:53 AM
Code folding is automatic, SUB/ENDSUB, TYPE/ENDTYPE, etc.

What you are referring to is region folding.

And I usually add all the minor advancements to the docs each major point release.

Paul.
Title: Re: a few things
Post by: JohnP on January 03, 2009, 03:02:21 PM
OK, thanks Paul.

JohnP