Topic: 'Folding' in the editor

I can't seem to find in the HELP files, any instructions on how 'folding' works in the source editor.  I can see that it hides a selection of source file lines inside a '+' sign in the margin but I can't work out how exactly to control it (in particular, how to select which lines to 'fold').

By experimenting, I am finding I can 'fold' an entire source file down to one line, but this isn't useful if all source routines are in separate lines.  Can one 'fold' a selected range of lines of code?  A little guidance would be a help.
---
John

Re: 'Folding' in the editor

I'm starting to get the hang of it.  Folding works from horizontal bar positions.
---
J.

Re: 'Folding' in the editor

John,

Code folding works via compressing certain structures in the code.  For example, you could fold a loop, function, or subroutine in its entirety.  It will not fold arbitrary selections of code, however.

Jeff Armstrong
Approximatrix, LLC