Select Fold in the Fold menu to fold the selected lines. The first line in the selection remains visible, while the others are hidden. They are “folded” underneath the first line. A folding icon appears to the left of the folded line to indicate it is folded. If you click it, the hidden lines become visible again. The folding icon changes to indicate the line is unfolded. Click the folding icon again to refold the range. You can change the appearance of the folding icons, folded lines, and unfolded ranges on the Editor page in the Preferences.
If you did not select part of the text, and the text cursor is inside a foldable range that is unfolded, then the Fold command folds that range.
While folded lines are invisible, they are still fully part of the file, and still take part in all editing actions. If you select a block that includes one or more folded sections and copy the block to the clipboard with Edit|Copy, for example, then all selected lines, including lines hidden by folding, are copied to the clipboard. Folding only affects the display. The only editing commands that take the folding into account are Edit|Delete Line, Fold|Copy Visible Lines and Fold|Delete Folded Lines.
On the Navigation page in the file type configuration, you can choose if and how EditPad Pro should add automatic folding points. Automatic folding points appear as an unfolded range that you can fold with the mouse or the Fold command.
Fold menu
Fold|Unfold
Fold|Fold Unselected
Fold|Remove Fold
File Type|Navigation
Editor Preferences