Skip to content

Commit cf0165c

Browse files
committed
Consolidate info about Opening and Closing tabs
on the FILES page, explain in excrutiatingly redudant detail that the User Interface supplies multiple ways to perform File>Open/Close actions on the UI page, suggest searching through the UI page if you are trying to find non-menu ways of performing a given action reorder UI page, to describe the Menus at the top of the page, since they are the primary interface to a given command
1 parent 5f1b4e7 commit cf0165c

File tree

2 files changed

+45
-22
lines changed

2 files changed

+45
-22
lines changed

content/docs/files.md

+23
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,29 @@ For the **Save As** and similar dialogs, there is a **Save as Type** pulldown fi
6969

7070
For the **Save As** dialog, the `☐ Append extension checkbox` described in the [Preference Toggles in Other Dialogs](preferences/#preference-toggles-in-other-dialogs) will allow the dialog to automatically add the _first_ extension in the list for the active filter. If you want a different extension for that type, or if that option is not checkmarked, you can always type the filename with extension to explicitly define the extension you want for the file you are currently saving. (So normally, doing **Save As** filtered for C++ will automatically add the `.cpp` extension; but if you want it to be `.cxx` or `.h`, you can just type that as part of the **File name** entry rather than letting Notepad++ auto-append the extension.)
7171

72+
### Alternates to File Menu
73+
74+
Many of the actions from the **File** menu have multiple ways to access them, as described in the [User Interface](../user-interface/) and in other appropriate User Manual sections.
75+
76+
For example,
77+
- **File > Open** has many ways of accomplishing the same thing:
78+
- The default [keyboard shortcut](../preferences/#shortcut-mapper) is <kbd>Ctrl+N</kbd>.
79+
- The [toolbar](../user-interface/#toolbar) has an icon **New**.
80+
- The [menu bar](../user-interface/#menu-bar) can have a `+` icon to create a new file.
81+
- You can double-click in the empty space in the [tab bar](../user-interface/#tabs).
82+
- You can use the right-click menu of the [system tray icon](../user-interface/#system-tray)
83+
- **File > Close** also has many ways of accomplishing the same thing:
84+
- The default [keyboard shortcut](../preferences/#shortcut-mapper) is <kbd>Ctrl+W</kbd>.
85+
- The [toolbar](../user-interface/#toolbar) has an icon **Close**.
86+
- The [menu bar](../user-interface/#menu-bar) can have an `X` icon to close the active file.
87+
- The [User Interface > Tabs](../user-interface/#tabs) section explains three more:
88+
- You can click the `X` of a given tab's title to close it, if [**Settings > Preferences > General > Tab Bar > Show close button**](../preferences/#general) is set.
89+
- You can double-click on the tab's title to close it, if [**Settings > Preferences > General > Tab Bar > ☐ Double click to close document**](../preferences/#general) is set.
90+
- You can middle-click on the tab's title to close it.
91+
- You can use the [right-click menu](../user-interface/#tab-bar-right-click-menu) of the tab's title.
92+
93+
In general, it's redundant to explain all the alternate methods in multiple locations in the Manual, so if you are looking for a way to perform an action from the **File** menu in some other location, you can use your browser's **Find in Page** feature (often <kbd>Ctrl+F</kbd> or similar) to search the [User Interface](../user-interface/) page for the action you are looking for. And studying that page will allow you to familiarize yourself with the various locations where such features might be found.
94+
7295
## Printing
7396

7497
The **File > Print** action will pull up a Windows-standard print dialog, from which you can choose your printer and send your text to the selected printer. Normally, it will print the whole document, but you can use the print dialog to choose only certain pages; if you have an active selection in the editor, only the selected text will be printed.

content/docs/user-interface.md

+22-22
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,25 @@ title: User Interface
33
weight: 175
44
---
55

6+
## Menu Bar
7+
8+
The menu bar of Notepad++ has a variety of menus, including [**File**](../files/#file-menu) (for generic file operations like open and close), [**Edit**](../editing#edit-menu), [**Search**](../searching/), and [**View**](../views/), **Encoding** (which affects how the bytes of the file are interpreted as text -- whether ANSI or UTF-8 or similar), **Language** (for syntax highlighting of [built-in languages](../programming-languages/) and [User Defined Languages](../user-defined-language-system/)), [**Settings**](../preferences/), **Tools** (with a couple of built-in utilities), [**Macro**](../macros/), [**Run**](../config-files/#userdefinedcommands) (for running external commands), [**Plugins**](../plugins/), and the **Window** menu (for accessing open files already open in Notepad++). (Many of the commands from those menus can also be found elsewhere in the User Interface, so you can search this page for a specific term if you are looking for alternative access to a specific menu command.)
9+
10+
It also contains the **?** menu, which is a **Help**-style menu, including actions that list the [command line arguments](../command-prompt/); actions that take you to the Notepad++ [home page](https://notepad-plus-plus.org/), the [project page](https://github.com/notepad-plus-plus/notepad-plus-plus), this [user manual](/), and the [Community Forum](https://community.notepad-plus-plus.org); actions for the updater and proxy; the **Debug Info** (which is critical information when asking for help at the Community Forum or when creating a feature request or bug report at the [project page](https://github.com/notepad-plus-plus/notepad-plus-plus/issues)) and **About**.
11+
12+
At the far right of the menu bar there are also icons `+` (to create a New file), `` (to choose from the open files), and `X` (which closes the active tab). (Before v8.4.3, only the `X` existed in that area of the menu bar. Starting in v8.4.5, these can be made hidden using [Settings > Preferences > General > Menu](../preferences/#general).)
13+
14+
### Tools Menu
15+
16+
This menu contains commands related to running [cryptographic hash functions](https://en.wikipedia.org/wiki/Cryptographic_hash_function) , including [MD5](https://en.wikipedia.org/wiki/MD5),
17+
[SHA-1](https://en.wikipedia.org/wiki/SHA-1), and the SHA-256 and SHA-512 algorithms from [SHA-2](https://en.wikipedia.org/wiki/SHA-2). (SHA-1 and SHA-512 were added in v8.5.5.) These are useful for comparing the hashes for downloaded files to officially-published hashes, and for generating those hashes for files that you are publishing.
18+
19+
For each function, there are 3 commands:
20+
21+
- **Generate** - You can enter text in the upper field, and it will give you the hash output in the other field. You can copy those results to the Clipboard through the button. You can optionally checkmark **☑ Treat each line as a separate string** to get N different hashes for N different strings at the same time, rather than a single hash that covers the entire input text.
22+
- **Generate from Files** - Will calculate the hashes for one or more selected files.
23+
- **Generate from Selection into Clipboard** - Will use the text that is currently selected, calculate the hash, and put the hash results in the Clipboard.
24+
625
## Tabs
726

827
The keyboard shortcuts described in this section are the default [**Settings > Shortcut Mapper**](../preferences/#shortcut-mapper) settings; if the Shortcut Mapper has been modified, the keystrokes may be different.
@@ -61,14 +80,14 @@ If the description says it will "wrap", it means that if you try to go beyond th
6180
- To close a tab using the tab bar:
6281
1. If **[Settings > Preferences > General](../preferences/#general) > Tab Bar > ☐ Show close button on each tab** is checked, you can click the red ☒ on that tab to close that tab.
6382
- When set to show, the close button will always be visible on the active tab
64-
- When set to show, in v8.7.2 and newer, the close button will be invisible on inactive tabs, though if you hover over the inactive tab, its
83+
- When set to show, in v8.7.2 and newer, the close button will be invisible on inactive tabs, though if you hover over the inactive tab, its
6584
2. If **[Settings > Preferences > General](../preferences/#general) > Tab Bar > ☐ Double click to close document** is checked, you can double-click the tab's title to close that tab.
6685
![tabNavCloseXDblClick](../images/tabNavCloseXDblClick.gif)
6786
3. You can middle-click on the tab's title to close that tab.
68-
87+
6988
- To pin a tab using the tab bar:
7089
1. Ensure **[Settings > Preferences > General](../preferences/#general) > Tab Bar > ☐ Enable pin tab feature** is checkmarked.
71-
2. The active tab (and any tabs you hover over) will have a hollow "pin" icon.
90+
2. The active tab (and any tabs you hover over) will have a hollow "pin" icon.
7291
3. Clicking that icon will "pin" the tab, which will change the icon to a filled-in "pin", and will move the tab to the left side of the tab bar (before any unpinned tabs, but after any tabs that are already pinned).
7392
4. Pinned tabs will show the filled-in pin icon whether or not they are active.
7493
5. Clicking the filled-in pin icon will unpin the tab.
@@ -116,14 +135,6 @@ By default, the commands available in that context menu are described below. If
116135
- `Remove Color`: Removes the color of the tab, returning to the default color scheme.
117136
- Starting in v8.7, these colors can be user-defined using the [**Style Configurator > Global Styles > Tab color _n_** and **Tab color dark mode _n_**](../preferences/#global-styles) background color settings.
118137

119-
## Menu Bar
120-
121-
The menu bar of Notepad++ has a variety of menus, including **File** (for generic file operations like open and close), [**Edit**](../editing#edit-menu), [**Search**](../searching/), and [**View**](../views/), **Encoding** (which affects how the bytes of the file are interpreted as text -- whether ANSI or UTF-8 or similar), **Language** (for [syntax highlighting](../programming-languages/)), [**Settings**](../preferences/), **Tools** (with a couple of built-in utilities), [**Macro**](../macros/), [**Run**](../config-files/#userdefinedcommands) (for running external commands), [**Plugins**](../plugins/), and the **Window** menu (for accessing open files already open in Notepad++).
122-
123-
It also contains the **?** menu, which is a **Help**-style menu, including actions that list the [command line arguments](../command-prompt/); actions that take you to the Notepad++ [home page](https://notepad-plus-plus.org/), the [project page](https://github.com/notepad-plus-plus/notepad-plus-plus), this [user manual](/), and the [Community Forum](https://community.notepad-plus-plus.org); actions for the updater and proxy; the **Debug Info** (which is critical information when asking for help at the Community Forum or when creating a feature request or bug report at the [project page](https://github.com/notepad-plus-plus/notepad-plus-plus/issues)) and **About**.
124-
125-
At the far right of the menu bar there are also icons `+` (to create a New file), `` (to choose from the open files), and `X` (which closes the active tab). (Before v8.4.3, only the `X` existed in that area of the menu bar. Starting in v8.4.5, these can be made hidden using [Settings > Preferences > General > Menu](../preferences/#general).)
126-
127138
## Toolbar
128139

129140
There is a toolbar which has icons for various common tasks, which each run a specific menu action. If you hover your mouse over that icon, it will show its name. The toolbar actions include:
@@ -166,17 +177,6 @@ Plugins can put additional buttons on the toolbar, to perform actions provided b
166177

167178
The toolbar settings can be found at [**Settings > Preferences > General > Toolbar**](../preferences/#general), including the option to **Hide** the toolbar. And you can customize the icons used for those buttons, as described in [Toolbar Icon Customization](config-files/#toolbar-icon-customization-toolbaricons-xml).
168179

169-
## Tools Menu
170-
171-
This menu contains commands related to running [cryptographic hash functions](https://en.wikipedia.org/wiki/Cryptographic_hash_function) , including [MD5](https://en.wikipedia.org/wiki/MD5),
172-
[SHA-1](https://en.wikipedia.org/wiki/SHA-1), and the SHA-256 and SHA-512 algorithms from [SHA-2](https://en.wikipedia.org/wiki/SHA-2). (SHA-1 and SHA-512 were added in v8.5.5.) These are useful for comparing the hashes for downloaded files to officially-published hashes, and for generating those hashes for files that you are publishing.
173-
174-
For each function, there are 3 commands:
175-
176-
- **Generate** - You can enter text in the upper field, and it will give you the hash output in the other field. You can copy those results to the Clipboard through the button. You can optionally checkmark **☑ Treat each line as a separate string** to get N different hashes for N different strings at the same time, rather than a single hash that covers the entire input text.
177-
- **Generate from Files** - Will calculate the hashes for one or more selected files.
178-
- **Generate from Selection into Clipboard** - Will use the text that is currently selected, calculate the hash, and put the hash results in the Clipboard.
179-
180180
## Document Switcher
181181

182182
The Document Switcher feature (which can be enabled or disabled using the **[Settings > Preferences > MISC](../preferences/#misc) > Document Switcher** settings) can be used to quickly switch between all the open files.

0 commit comments

Comments
 (0)