Skip to content

Commit

Permalink
views: Update keystrokes to <kbd> syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
pryrt committed Feb 26, 2024
1 parent 3ef8a45 commit b6f87d3
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions content/docs/views.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ Many of the entries in the View menu act as settings or toggles, to show or hide

Choosing **Always On Top** will make the Windows OS always keep Notepad++ on top of of other windows, even when you give other windows focus. If this is blocking another window you need access to, you can drag one of the windows, or you can uncheck **Always on Top** mode and then switch to the blocked window.

Choosing **Toggle Full-Screen Mode** will cause Notepad++ to take up the full screen, and the title bar, menu bar and tool bar will _not_ be visible. The menu bar will no longer be accessible through Alt-key accelerators, so the Notepad++ menu system cannot be used to get out of this mode; however, there is a little + sign in a box (``) in the upper right which can be used to exit the full-screen mode; alternatively, use the current keyboard shortcut for this toggle action (the default shortcut is `F11`), or close Notepad++ with `Alt+F4` or other Windows OS methods of closing applications and then restart Notepad++ (which will come up in normal view again). (To clarify: though Alt-accelerators will not show the menu bar or access the menu bar menus, action shortcuts defined through Shortcut Mapper will still work, even if they use the Alt key.)
Choosing **Toggle Full-Screen Mode** will cause Notepad++ to take up the full screen, and the title bar, menu bar and tool bar will _not_ be visible. The menu bar will no longer be accessible through <kbd>Alt</kbd>-key accelerators, so the Notepad++ menu system cannot be used to get out of this mode; however, there is a little + sign in a box (``) in the upper right which can be used to exit the full-screen mode; alternatively, use the current keyboard shortcut for this toggle action (the default shortcut is <kbd>F11</kbd>), or close Notepad++ with <kbd>Alt+F4</kbd> or other Windows OS methods of closing applications and then restart Notepad++ (which will come up in normal view again). (To clarify: though <kbd>Alt</kbd>-accelerators will not show the menu bar or access the menu bar menus, action shortcuts defined through Shortcut Mapper will still work, even if they use the <kbd>Alt</kbd> key.)

Choosing **Post-It** will get rid of the title bar, menu bar, and tool bar (similar to full-screen mode), but it will maintain the same window size as Notepad++ previously took up, rather than enlarging to take up the whole screen. This mode will also hide the tab bar, so you can focus on working on the single visible tab, though you can still use the tab-switching shortcuts to choose another tab. Like full-screen mode, Post-It mode has the `` in the upper right of the window for leaving this mode, or you can use the shortcut (the default shortcut is `F12`) or exit Notepad++ and restart.
Choosing **Post-It** will get rid of the title bar, menu bar, and tool bar (similar to full-screen mode), but it will maintain the same window size as Notepad++ previously took up, rather than enlarging to take up the whole screen. This mode will also hide the tab bar, so you can focus on working on the single visible tab, though you can still use the tab-switching shortcuts to choose another tab. Like full-screen mode, Post-It mode has the `` in the upper right of the window for leaving this mode, or you can use the shortcut (the default shortcut is <kbd>F12</kbd>) or exit Notepad++ and restart.

Choosing **Distraction Free Mode** (new to v8.0.0) will combine full-screen mode with Post-It mode, so it will go full screen, and will hide the title bar, menu bar, tool bar, and tab bar; it will also add wide margins within the edit menu, so the text doesn't go so wide across the full-screen window.

Expand Down Expand Up @@ -93,7 +93,7 @@ The remaining two entries in this sub-menu aren't affecting the glyphs of charac

## Zoom

The **Zoom** sub-menu will allow you to **Zoom In** (enlarge the text), **Zoom Out** (shrink the text), or **Restore Default Zoom** (which will change the text size back to default settings). These actions all act only on the current View, so if you have two Views visible, only one will be affected. Zooming can also be accomplished by holding down the `Ctrl` key and using the mouse wheel to go up (enlarge) or down (shrink).
The **Zoom** sub-menu will allow you to **Zoom In** (enlarge the text), **Zoom Out** (shrink the text), or **Restore Default Zoom** (which will change the text size back to default settings). These actions all act only on the current View, so if you have two Views visible, only one will be affected. Zooming can also be accomplished by holding down the <kbd>Ctrl</kbd> key and using the mouse wheel to go up (enlarge) or down (shrink).

## Move / Clone

Expand Down Expand Up @@ -125,7 +125,7 @@ If the current file is currently not modified (so no unsaved changes), you can a

The **Tab** sub-menu will allow you to navigate through the various open tabs of the active View.

The numbered entries will activate the _Nth_ tab (for 1st to 9th). The **Next tab** and **Previous tab** actions will activate the next or previous tab in the list of tabs (wrapping). Starting in v8.6.1, the **First tab** and **Last tab** actions will activate the first or last tab (the latter is especially useful when there are more than 9 tabs; both are useful when your keyboard doesn't have easy access to a "numeric keypad" so you cannot use the default `Ctrl+Numpad#` shortcuts to go to the _1st_ or _Nth_ tab).
The numbered entries will activate the _Nth_ tab (for 1st to 9th). The **Next tab** and **Previous tab** actions will activate the next or previous tab in the list of tabs (wrapping). Starting in v8.6.1, the **First tab** and **Last tab** actions will activate the first or last tab (the latter is especially useful when there are more than 9 tabs; both are useful when your keyboard doesn't have easy access to a "numeric keypad" so you cannot use the default <kbd>Ctrl+Numpad#</kbd> shortcuts to go to the _1st_ or _Nth_ tab).

The **Move Tab Forward** and **Move Tab Backward** will change the current file's position in the tab list one slot at a time, forward or backward. The tab order can also be changed by dragging the tabs to the new position in the tab-bar.

Expand Down Expand Up @@ -174,9 +174,9 @@ Folding/unfolding can be actuated by menu commands on the **View** menu relating

As folding can be nested, there is some remembering of internal fold states while the outer states are manipulated. However, there are some ways to override this behavior:

* Clicking a "-" or "+" fold symbol while holding the `Shift` key: Any internal folds in the clicked-upon tree will be uncollapsed, so that the whole sub-tree hierarchy will be shown fully expanded; if the tree is already fully expanded, `Shift`-clicking the top-level "-" symbol will do nothing
* Clicking a "+" fold symbol while holding the `Ctrl` key: Same as clicking a "+" fold symbol while holding the `Shift` key
* Clicking a "-" fold symbol while holding the `Ctrl` key: Collapses at the line of the click point, and collapses all subordinate/internal fold points as well (although this won't be revealed to the user until the fold just created is expanded)
* Clicking a "-" or "+" fold symbol while holding the <kbd>Shift</kbd> key: Any internal folds in the clicked-upon tree will be uncollapsed, so that the whole sub-tree hierarchy will be shown fully expanded; if the tree is already fully expanded, <kbd>Shift</kbd>-clicking the top-level "-" symbol will do nothing
* Clicking a "+" fold symbol while holding the <kbd>Ctrl</kbd> key: Same as clicking a "+" fold symbol while holding the <kbd>Shift</kbd> key
* Clicking a "-" fold symbol while holding the <kbd>Ctrl</kbd> key: Collapses at the line of the click point, and collapses all subordinate/internal fold points as well (although this won't be revealed to the user until the fold just created is expanded)

The current fold state of lines is not remembered from one Notepad++ run to the next, nor is it saved in the automatic or a manually-saved session file. It is intended to be temporary. When a file is reloaded by any means it always loads with all lines showing (no "+" will be visible anywhere in the file's fold margin).

Expand All @@ -198,7 +198,7 @@ The **Folder as Workspace**[↗](#remembered-settings "Remembered Setting") entr

The **Document Map**[](#remembered-settings "Remembered Setting") item will toggle the display of the Document Map panel, which shows a copy of the file in a tiny font, with a highlighted range to indicate which section of the current file is visible in the editor.

The **Document List**[↗](#remembered-settings "Remembered Setting") toggle will display the Document List panel, which lists all the open documents and allows easily switching between them. (Prior to v8.1.3, the panel was known as the **Doc Switcher** panel and controlled through the [General preferences](../preferences/#general), but that name was confused with the Document Switcher `Ctrl+TAB` settings in [MISC preferences](../preferences/#misc).) The Document List can be sorted by Name (or Extension or Path, if those columns are shown) by left-clicking on the header. To view the extension separately from the filename, right click on the header and choose the **Ext.** entry in the dropdown menu (as of v8.1.5; prior to that, it was in the [General settings](../preferences/#general)). To view the path in Document List panel, right click on the header and choose the **Path** entry in the dropdown menu (new to v8.1.5). As of v8.5, when you add [color to a tab](../other-resources/#tab-bar-right-click-menu), the color will also be applied to the entry in the Document List; and conversely, the right-click menu in the Document List is the same menu as the normal [tab bar right-click menu](../other-resources/#tab-bar-right-click-menu), so it will allow you to add color to the tab from that panel as well. The Document List has collapsible separators for each of the views (new to v8.5): if there is just one visible View, then there will be a single horizontal bar with a `︿` arrow, and clicking that `︿` arrow or double-clicking the horizontal line will collapse (hide) the list of files, and subsequently clicking the `﹀` arrow or double-clicking the horizontal line will uncollapse (show) the list again; if there are two visible views, then the Panel will have two collapsible separator bars, one for each View, which work in the same manner to show or hide the list of files for each view separately. If you right-click on the Document List panel's header row, you can toggle the ✔ checkmark on **Group by View** to disable and enable this option (which is on by default); if it's disabled, the files for both visible Views will be shown in a single list with no separator bar. Finally, aside from the right-click menu's options for closing files using the Document List panel, if you middle-click on a file's entry in the Document List, it will also close that file's tab and remove it from the Document List panel (new to v8.5).
The **Document List**[↗](#remembered-settings "Remembered Setting") toggle will display the Document List panel, which lists all the open documents and allows easily switching between them. (Prior to v8.1.3, the panel was known as the **Doc Switcher** panel and controlled through the [General preferences](../preferences/#general), but that name was confused with the Document Switcher <kbd>Ctrl+TAB</kbd> settings in [MISC preferences](../preferences/#misc).) The Document List can be sorted by Name (or Extension or Path, if those columns are shown) by left-clicking on the header. To view the extension separately from the filename, right click on the header and choose the **Ext.** entry in the dropdown menu (as of v8.1.5; prior to that, it was in the [General settings](../preferences/#general)). To view the path in Document List panel, right click on the header and choose the **Path** entry in the dropdown menu (new to v8.1.5). As of v8.5, when you add [color to a tab](../other-resources/#tab-bar-right-click-menu), the color will also be applied to the entry in the Document List; and conversely, the right-click menu in the Document List is the same menu as the normal [tab bar right-click menu](../other-resources/#tab-bar-right-click-menu), so it will allow you to add color to the tab from that panel as well. The Document List has collapsible separators for each of the views (new to v8.5): if there is just one visible View, then there will be a single horizontal bar with a `︿` arrow, and clicking that `︿` arrow or double-clicking the horizontal line will collapse (hide) the list of files, and subsequently clicking the `﹀` arrow or double-clicking the horizontal line will uncollapse (show) the list again; if there are two visible views, then the Panel will have two collapsible separator bars, one for each View, which work in the same manner to show or hide the list of files for each view separately. If you right-click on the Document List panel's header row, you can toggle the ✔ checkmark on **Group by View** to disable and enable this option (which is on by default); if it's disabled, the files for both visible Views will be shown in a single list with no separator bar. Finally, aside from the right-click menu's options for closing files using the Document List panel, if you middle-click on a file's entry in the Document List, it will also close that file's tab and remove it from the Document List panel (new to v8.5).

The **Function List**[](#remembered-settings "Remembered Setting") toggle will display the [Function List](../function-list/) panel, which lists the functions, methods, and classes in the current file, and allows easy navigation to those sections of the file by double-clicking in the Function List panel. (The "functions, methods, and classes" are programming terms, but the feature can also be used for listing headings or sections of other structured files, or through [config files](config-files/#function-list), can be made to match anything else that you choose to match for indicating "sections" of your text, whatever that happens to mean to you.)

Expand Down

0 comments on commit b6f87d3

Please sign in to comment.