Categories


Popular topics

(Created page with "Category:View tab <div class="idm-shortcut"> Shortcut: <span>Ctrl+-</span> (numeric keypad) </div> '''Show / hide lines''' in the "View" tab allows you to select and hide...")
(No difference)

Revision as of 20:57, 24 August 2017

Shortcut: Ctrl+- (numeric keypad)

Show / hide lines in the "View" tab allows you to select and hide an arbitrary number of lines so that they will not be visible on the screen (or show selected lines, if they are hidden).

Hiding lines
To hide a set of lines, select the lines you wish to be hidden and invoke the Hide/show selection command from the View tab or by using the shortcut (Ctrl + - numeric keypad). When the lines are hidden, a "+" will be displayed in the folding gutter to the left of the edit window.

If editing a file that does not have syntax highlighting, the following configuration options must be selected under the Editor display » Code folding section of Settings:

  • Enable show/hide lines and code folding
  • Enable show/hide lines in non syntax highlighted files

Multiple sections can be hidden at one time. Changes made to the file will update the hidden regions in most cases so that the hidden lines are maintained. In a few instances (sort, for example) this may not be possible and the hidden lines may be offset requiring them to be hidden again.

Clicking on the "+" in the folding gutter beside hidden lines will cause the section no longer to be hidden. This may be re-hidden by using this hide lines feature without a selection – in this case, the last set of lines that was hidden and then shown will be hidden again.

This command can also be used from within macros.

Showing (hidden) lines

To display a set of lines that is hidden, you can use the same shortcut (Ctrl + - numeric keypad), click on the "+" in the folding gutter beside the hidden lines, or position to it via some other means and select Hide/show selection in the "View" tab.

Saving the Hidden Lines

If the opton Save bookmarks is set in the Editor » Bookmarks section of Settings, the hidden line information will also be saved and reloaded when the file is next loaded.

MediaWiki spam blocked by CleanTalk.