Hiding lines
You can also manually hide lines. To do this, select the lines to hide (all but the very first or last line) and select
. The selected lines will be hidden and in the bookmark margin two icons will appear ( indicating the start and indicating the end of the hidden section). Clicking on any of these two icons will show the lines again.