You are here: Visual LANSA User Guide > 8. Editor Basics > 8.6 Keyboard Shortcuts > 8.6.6 Collapse and expand code

8.6.6 Collapse and expand code

Action

Key to use

Collapse blocks. This command blocks a level at a time. If you keep collapsing the blocks, the entire code will be collapsed, except for lines that are not in blocks.

Ctrl + F9

Expand blocks. This command expands a level at the time

Ctrl +F10

Collapse the block containing the line that has the editor focus

Ctrl + Shift + F9

Expand the collapsed block that has the editor focus

Ctrl + Shift + F10

 

8.6 Keyboard Shortcuts