-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Description
Description of the Feature Request
The Sel : area of the status bar is currently only useful in one situation:
When I have a single stream selection it will show me the number of characters in my selection and the number of lines that my selection touches.
Example 0: Sel : 25 | 2 for 25 characters selected on two lines.
This is a good feature.
But what about when I have other types of selection situations?
Example 1:
Multiple selections (after enabling Multi-Edit Settings in the Preferences).
Result 1:
In the status bar I see Sel : N/A
Not terribly useful.
Example 2:
Rectangular selections after selecting a column-block via Shift+Alt+arrows or Alt+LClick+drag.
Result 2:
In the status bar I see Sel : N/A
Not terribly useful.
Example 3:
One selection of zero characters; the normal single-carat situation.
Result 3:
In the status bar I see Sel : 0 | 0
Not terribly useful.
Wouldn't it be super if Notepad++ could display useful information for these situations?
Additionally, there is an off-by-1 error in the current output of the number of lines touched by a single selection; this should be corrected during any revamping of Sel : status bar functionality; for reference see https://community.notepad-plus-plus.org/topic/13087/sel-in-status-bar-is-off-by-1-on-line-count
Expected Behavior
I expect to be shown some useful information in all types of selection situations.
Actual Behavior
Described above.
Debug Information
Reference version:
Notepad++ v7.8.8 (32-bit)
Build time : Jun 24 2020 - 00:15:36
Path : C:\...............\npp.7.8.8.bin\notepad++.exe
Admin mode : OFF
Local Conf mode : ON
OS Name : Windows 10 Enterprise (64-bit)
OS Version : 1809
OS Build : 17763.1039
Current ANSI codepage : 1252
Plugins : mimeTools.dll NppConverter.dll NppExport.dll
Other
I decided to create a new and very specific issue for this based upon prior discussion in other issues: