Skip to content

Commit

Permalink
v8.7.1 Updates (#711)
Browse files Browse the repository at this point in the history
* v8.7.1: system tray
- item 10 on #710

* v8.7.1: UI>Tabs>new-tab hover text
- item 11 on #710
- since hover-text wasn't really described in the UI>Tabs section, describe normal file hover-text as well

* v8.7.1 Global Override
- item 12 from #710
  • Loading branch information
pryrt authored Nov 4, 2024
1 parent e66adcb commit 13b1e59
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 2 deletions.
2 changes: 1 addition & 1 deletion content/docs/command-prompt.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ code | file
* `-nosession`: Launch Notepad++ without previous session.
* `-notabbar`: Launch Notepad++ without tabbar.
* `-ro`: Make the `filepath` read only.
* `-systemtray`: Launch Notepad++ directly in system tray.
* `-systemtray`: Launch Notepad++ directly in [system tray](../user-interface/#system-tray).
* `-loadingTime`: Display Notepad++ loading time.
- Starting in v8.6.1, it shows millisecond precision using the `##:##:##.###` (hour:minute:second.millisecond) format. It separates the loading time into Notepad++ initialization, plugins loading time, session loading time, command-line-parameter parsing time, and the total loading time.
- In v8.6 or earlier, it just showed the total number of seconds for Notepad++ to load, without millisecond precision and without the listing of the times for individual loading stages.
Expand Down
10 changes: 9 additions & 1 deletion content/docs/preferences.md
Original file line number Diff line number Diff line change
Expand Up @@ -545,10 +545,15 @@ A variety of settings that didn't fit elsewhere
* `Disable`: Will not check to see if the file has been updated on disk.
* `☐ Update silently`: Instead of prompting, will automatically reload the file from disk.
* `☐ Scroll to the last line after update`: Will scroll to the end of the file after reloading from disk (otherwise, the [caret](#caret-and-cursor "typing/insertion cursor") and scrolled-location stays where it was before the update).
* **System Tray** dropdown
- `No action to` **system tray**: Neither minimizing Notepad++ nor closing Notepad++ will place the Notepad++ icon on the system tray.
- `Minimize to` **system tray**: Place the Notepad++ icon on the system tray (instead of the task bar) when the Notepad++ window is minimized.
- `Close to` **system tray**: Place the Notepad++ icon on the system tray (instead of the task bar) when the Notepad++ application is closed. (New to v8.7.1.)
- The dropdown is new to v8.7.1. In previous versions, there was just a checkbox for `☐ Minimize to system tray`, and there was no `Close to` option available.
- For more details on the System Tray behavior, see [User Interface > System Tray](../user-interface/#system-tray).
* `☐ Enable Notepad++ auto-updater`: Will automatically download updates from the official website, once the development team has decided it's time to push an update to users. If unchecked, you will have to manually download the installer from the official website yourself.
* `☐ Mute all sounds`: When unchecked, a sound will provide feedback on certain actions (example: a search action in [**Find / Replace dialog**](../searching/#dialog-based-searching) results in the text not being encountered); when checked, Notepad++ will remain silent for those actions.
* `☐ Autodetect character encoding`: When opening a new file, try to algorithmically determine what character encoding should be used. (Other Encoding settings can be found in the [New Document](#new-document) tab of the **Preferences** Dialog.)
* `☐ Minimize to system tray`: Place the Notepad++ icon on the system tray (instead of the task bar) when the Notepad++ window is minimized.
* `☐ Show only filename in title bar`: Use just the file name (instead of the full path) of the active file in the Notepad++ title bar.
* `☐ Use DirectWrite (May improve rendering special characters, need to restart Notepad++)`: Enables DirectWrite drawing.
* DirectWrite will help in displaying characters even if the active font doesn't have a glyph.
Expand Down Expand Up @@ -588,6 +593,9 @@ Some of these styles apply to the background only, some apply to the foreground
- Global override takes precedence over any other color or font defined elsewhere, and will mask any per-language settings.
- Unless you want to turn off all syntax highlighting for all the programming languages, you likely don't want to use the `Global override` settings.
- Do not use this if all you are trying to do is set the color for Normal Text files (`.txt`): for those, use the `Default style` below.
- Starting in v8.7.1, there is a `What is Global override?` link which you can hover over to find out more about the global overrides; and new installations and new portable copies will have **Global override** at the _end_ of the list of **Global Styles** instead of the beginning, to better emphasize that **Global override** is more drastic than you usually need.
- If you upgrade from an older version of Notepad++ to v8.7.1 or newer, the **Global override** will not necessarily be moved to the end of the list.
- In such a case, or even if you are in an older version of Notepad++, you can edit [`%AppData%\Notepad++\stylers.xml` (or your active theme file)](../config-files/#highlighting-schemes-stylersxml) following the advice for [editing configuration files](../config-files/#editing-configuration-files), and move the `<WidgetStyle name="Global override" ... />` element from the top of the `<GlobalStyles>` section to the end of that section; after saving, exiting Notepad++, and restarting the app, **Global override** will be moved to the end of the list.
* **Default style** [background and foreground] ⇒ This sets the base font and colors for all languages -- so any unstyled text will use these settings.
- As described previously, `Default Style` is used to set the color for Normal Text (`.txt` files, and anything else that isn't highlighted by a lexer).
- Also, as described a few paragraphs earlier, the highlighters for specific languages will inherit from this `Default Style` for things like font and possibly color, if there is no value defined for that language.
Expand Down
26 changes: 26 additions & 0 deletions content/docs/user-interface.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ If the description says it will "wrap", it means that if you try to go beyond th

- The tab bar settings can be found at [**Settings > Preferences > General > Tab Bar**](../preferences/#general), including the options to **Hide** the tab bar or to **Lock** the tab bar (so that tabs will not be movable from the Tab Bar, though they can still be reordered using keyboard shortcuts or menus).

- If you click on a tab on the tab bar, that tab will become the active tab in the view.

- If you hover over a tab on the tab bar, there will be hover text:
- It will show the full file path for a file from the filesystem.
- If it's a new, unsaved tab, then the hover text will be the name of that tab (defaults to `new #`, depending on language, but you can rename unsaved tabs even without having saved it to a true filename, and the hover will show the same text as seen in the tab's title). Starting in v8.7.1, the hover text will also show the date-and-time when the new tab was created.

- To switch between first and last tab, use <kbd>Ctrl</kbd> + <kbd>Shift</kbd> + ```MOUSEWHEEL``` on tabs. ```MOUSEWHEEL``` up will take to first tab while down will take to last tab.
![tabNavFirstLast](../images/tabNavFirstLast.gif)

Expand Down Expand Up @@ -170,3 +176,23 @@ If you hold down <kbd>Shift</kbd> (while still holding the <kbd>Ctrl</kbd> key t
The Document Switcher functionality can also be achieved using just the mouse (if you have a scroll wheel): Right-click in the editing area for a tab and hold the right mouse button, then begin scrolling the mouse wheel (in either direction) to display the Document Switcher popup; further scrolling of the scroll wheel will change which tab is shown in bold in the list. Releasing the right mouse button will cause the tab that is currently bold to be activated. An alternate way to activate a tab using the mouse, while the right mouse button is still held and the Document Switcher is displayed, is to left-click on one of the tab names from the list, which will immediately make that entry bold, activate the tab, and close the popup (even though you haven't let go of the right mouse button yet).

Some users have wondered about a "yellow flash" they have seen when using Notepad++: If you <kbd>Ctrl+Tab</kbd> and then promptly release _both_ keys, it will immediately switch to the tab that is first made bold and will leave Document Switcher mode (since you released the <kbd>Ctrl</kbd> key). Depending on how promptly you release, this may just briefly flash the yellow-background popup, not giving you a chance to read the popup's list of tabs.

## System Tray

When the [Settings > Preferences > MISC](../preferences/#misc) are set to **Minimize to system tray**, then when you minimize Notepad++, the main Notepad++ window will be closed, and the Notepad++ icon will move from the Windows taskbar to the Windows system tray. If those settings have **Close to system tray** (available starting in v8.7.1), then when you close Notepad++, it will move to the system tray. You can also launch Notepad++ directly to the system tray using the [`-systemtray` command-line argument](../command-prompt/).

When on the system tray, Notepad++ will not show up in the Windows <kbd>Alt+Tab</kbd> list of applications to switch between, nor will it show up in the main Task Manager's main Applications list; however, it will still show up tine Task Manager's Details list, which shows all the executable files running.

If you left-click on the Notepad++ system tray icon, it will activate the Notepad++ application: the main Notepad++ window will be shown again, and the icon will move from the system tray back to the taskbar.

If you right-click on the Notepad++ system tray icon, it will show a context menu:
- `Activate`: Shows main Notepad++ window.
- `New`: Shows main Notepad++ with a new file tab created.
- `New and Paste`: Shows main Notepad++ with a new file tab created, and it will paste the current contents of the clipboard into that new tab.
- `Open...`: Shows main Notepad++ window, and immediately calls **File > Open** so that you can open a file right away.
- `Find in Files`: Shows the **Find in Files** dialog, and allows you to run a search and/or replace action _without_ showing the main Notepad++ window.
- If you run a search, the Search Results window or panel would be populated:
- If the Search Results had been previously docked as a panel in Notepad++ (the default state for Search Results), then the next time you activate Notepad++, the Search Results panel will be visible with the results you obtained.
- If the Search Results had been previously undocked and in a separate window from Notepad++, then the undocked Search Results window will usually become visible at this point, even though the main Notepad++ window is not visible. You can use the normal Search Results navigation: so double-clicking on a result will activate Notepad++, showing the result you chose in the active Notepad++ view.
- If you ran a replace action, those replacements will have occurred, even though the Notepad++ window is not visible and no results are shown.
- `Close Tray Icon`: Completely closes/exits Notepad++, and icon will be removed from the System Tray

0 comments on commit 13b1e59

Please sign in to comment.