Padding between line number column and text
There should be a padding of a few pixels (configurable) between the line number column and the actual text editor. Or some padding on the left side inside the text editor. This would make the beginning of the text more readable compared to now, where the line numbers and the text stick together with virtually no space between them. When turning off the line number column, it's even more ugly, because the text starts so close to the window border and with a black desktop background, it gets ugly and hard to read.
Switching on the bookmarks column or folding column is not an option, because I don't need these and the whole line selection (where the cursor changes to pointing right) doesn't work in them.
Also, when starting a new document, the line number column is just 1 character wide, which is too small to be used comfortably for whole line selection! there must be a minimum column width (see Notepad++), so that the column is always clearly distinct from the text and actually usable.
Ideal would be if one could configure the (minimum) widths of all optional columns and the padding of the text inside the editor. This would make it possible to create an optimal and usable workspace.
Thanks!
Agreed. Better if the line number is centered and there is a solid line at the right edge of the line number area to separate the text area.
With PR #5118 you now can define the offset between margin area (line numbering)mand text area by defining the size: parameter of Customizing Schemes... -> "Common Base" -> "Indentation Guide (Color)" (offset width is in pixel count, min is 0, max is 256 pix).
Hello @FCrane , @chuanliwen ,
Feel free to test the "BETA/RC PortableApps", version "Notepad3Portable_6.24.227.1_rc2.paf" or newer, see in issue #1129.
"Notepad3Portable BETA/RC PortableApps" version can be used with or without ".7z" extension.
Also, feel free to test the "BETA/RC Setup", version "Notepad3_6.24.227.1_rc2_Setup" or newer, see the 2nd list in issue #1129.
Comments and suggestions are welcome... 😃
Thanks! I've tested the new version and it does move the text away from the line numbers (so far so good). However, 3, issues:
-
The additional area (not to use "space", because this could be mistaken for a character) is not used as selection margin, but it's "dead" (does nothing when clicked but to place the cursor at the beginning of the line. I expect the mouse cursor to change to a right pointing arrow which is used to select the whole line. As it's now, it's strange: try e.g. size30; and you still can only select the whole line when you move the mouse all the way to the left over the line numbers. There should be an option "Selection margin width", where I can select the size, color, etc. The selection margin should be between the line numbers and the text.
-
Setting the size is not really intuitive: when I just type it in the edit field, it's not working and gone the next time I open the schemes editor. I need to select a "Font" with the desired size to make it work. Strange... Should be possible to simply enter it manually. Actually, the selection margin width should be a separate parameter, because it's important and should not be hidden in some work-around.
-
When opening the schemes customization, it always starts with some default value selected. So every time I want to try a new value, I need to navigate to the respective group and item again. This is confusing, annoying and makes it prone to errors. The config dialog should open at the same item it was closed with, so that the user can adjust and test values quickly...
So although the new version makes some "cosmetic" changes, it doesn't really work the way it would be expected...
Regards!
-
Yes, it is a dead area - the dead left space of the text area, it has nothing in commen with the "living margins, of line numbers, bookmarks, change indicators, ..." and can (and will) not be used in any other way as requested:
padding of a few pixels (configurable) between the line number column and the actual text editor
-
Too unimportant to feature to spend an extra dialog for this - in my opinion a good hidden place. it is not needed to select a font size, simply type
"; size:10;" -
The people are used to jump to the current selected scheme when open the scheme customization - this will not change. There is no need to need to close the customization dialog for testing, there is a
Previewbutton.
Regarding limits: Lower limit is -1 (size:-1;) upper limit is a standard character width:
A "dead area" makes no sense. Should be the "Selection margin", with adjustable width, color, etc.
Ditch the dead space and add a usable and configurable selection margin - that's the only reasonable way to do it in my opinion and would be a true improvement.
Thanks!
Hello @FCrane , @chuanliwen ,
Feel free to test the "BETA/RC PortableApps", version "Notepad3Portable_6.24.228.1_rc2.paf" or newer, see in issue #1129.
"Notepad3Portable BETA/RC PortableApps" version can be used with or without ".7z" extension.
Also, feel free to test the "BETA/RC Setup", version "Notepad3_6.24.228.1_rc2_Setup" or newer, see the 2nd list in issue #1129.
Comments and suggestions are welcome... 😃
Hello @hpwamr ,
Have downloaded and tested it, but could not see the difference with the previous build. Anyway, it functions ok.
No difference in 2281 - still just dead space instead of selection margin.
Also: all RC candidates mess up the system wide setting of "Animate windows when minimizing and maximizing"!!! It always enables the animation, even when I add
DrawAnimatedWindow=0
to the settings file! After opening the settings file to check if the value is still there, it works for a while (no animation), but soon after it's enabled all of a sudden again. THIS IS HORRIBLE!!!! Who in god's name would be so ignorant to change operating system settings all the time without asking the user??? Completely unusable...
Yes, when maximizing and restoring the window, it is stuck for some time (about a second).
Placing the cursor at the margin space will change the cursor shape to a right arrow for selecting the whole line (including all sublines) - this seems to be a good idea. At present you cannot select a whole line with several sublines with a mere click. You can only select a subline by clicking on the line number area. You have to drag the mouse to select several sublines. Please consider this proposal.
At present you cannot select a whole line with several sub-lines with a mere click.
In case of warped lines, with the cursor on a number of "Line numbers:
- 1 click selects the entire corresponding line
- 1 double click selects the entire line with all sub-lines.
In case of warped lines, with the cursor on a number of "Line numbers:
- 1 click selects the entire corresponding line
- 1 double click selects the entire line with all sub-lines.
Yeah I tried it out. Still hope to get a more conventient way.
@hpwamr
Furthermore, to select a subline doesn't make any sense. A subline (one of them in a wrapped line) is separated by the window width, so it is changeable and not what we want to select for edit. I think by clicking on the line number the whole line (all the sublines) should be selected, as it is in Notepad2. This way is more convenient.
all RC candidates mess up the system wide setting of "Animate windows when minimizing and maximizing"!!! It always enables the animation, even when I add
Hello @FCrane , @chuanliwen
DrawAnimatedWindow=true ; true or undefined = use system settings, false = do not draw animated regardless of system settings
Feel free to test the "BETA/RC PortableApps", version "Notepad3Portable_6.24.301.1_rc2.paf" or newer, see in issue #1129.
"Notepad3Portable BETA/RC PortableApps" version can be used with or without ".7z" extension.
Also, feel free to test the "BETA/RC Setup", version "Notepad3_6.24.301.1_rc2_Setup" or newer, see the 2nd list in issue #1129.
Comments and suggestions are welcome... 😃
@hpwamr Have tested v6.24.301.1_rc2. The small bug about DrawAnimatedWindow is solved. Now it doesn't get stuck when maximizing and restoring the window. Well done, and thanks.
Hello @FCrane , @chuanliwen ,
Feel free to test the "BETA/RC PortableApps", version "Notepad3Portable_6.24.302.1_rc2.paf" or newer, see in issue #1129.
"Notepad3Portable BETA/RC PortableApps" version can be used with or without ".7z" extension.
Also, feel free to test the "BETA/RC Setup", version "Notepad3_6.24.302.1_rc2_Setup" or newer, see the 2nd list in issue #1129.
Comments and suggestions are welcome... 😃
Animation problem still exists in 302.1 !!!! After a while, window animation gets re-enabled in the OS! Terrible!
I think I found the animation problem: there is a second (older) version of Notepad3 on my system and sometimes (not sure when), this older version is started when opening a file instead of the new one! The old version enabled Window Animation again.
How can it be that several versions are used by the system??? I've now deleted the old version - let's see if it works.
I think I found the animation problem: there is a second (older) version of Notepad3 on my system and sometimes (not sure when), this older version is started when opening a file instead of the new one! The old version enabled Window Animation again.
How can it be that several versions are used by the system??? I've now deleted the old version - let's see if it works.
That happens if your older version was installed into the system and your new one is a portable. You could either uninstall the old one, or link text files to the new one as the default application. Or maybe it's due to other causes. It's good you have found the problem.
I think by clicking on the line number the whole line (all the sublines) should be selected, as it is in Notepad2. This way is more convenient.
Hello @chuanliwen , @FCrane
Feel free to test the "BETA/RC PortableApps", version "Notepad3Portable_6.24.307.1_rc2.paf" or newer, see in issue #1129.
"Notepad3Portable BETA/RC PortableApps" version can be used with or without ".7z" extension.
Also, feel free to test the "BETA/RC Setup", version "Notepad3_6.24.307.1_rc2_Setup" or newer, see the 2nd list in issue #1129.
Comments and suggestions are welcome... 😃
@hpwamr Thanks. I have tested the new build. Clicking on line number, the whole line is selected - this is done.