Forum > Editor
Who uses "caret past EOL"?
Martin_fr:
If you do, do you use it within the range of the "longest line" only?
That is, currently caret-past-eol additionally allows you to scroll up to over 1000 columns, even if you don't have any line that long. Do you use that scroll range?
eljo:
No, usually the width of my screen is enough add an error margin of lets say 100 columns and you are safe with me.
Martin_fr:
--- Quote from: eljo on June 02, 2023, 03:02:22 pm ---No, usually the width of my screen is enough add an error margin of lets say 100 columns and you are safe with me.
--- End quote ---
In future, the "cursor right" key will not be restricted anymore (like in other editors / notepad++ with "virtual space"). The scroll bar will extend, if the key is hold or repeatedly pressed.
But, if you want to use the mouse to place the caret (and maybe the scroll vertically on the scrollbar or with an tilt-able wheel) then you need some already available scroll range.
- You may want to stay within the range of the longest line, eg all other text will be placed below/above the content of the longest line
- You may just want to scroll "a bit" beyond that (100 chars is probably the amount that fits into the visible part of your editor?)
- You may want to go really far?
Git main branch already has options to chose from...
eljo:
--- Quote from: Martin_fr on June 02, 2023, 03:26:39 pm ---
--- Quote from: eljo on June 02, 2023, 03:02:22 pm ---No, usually the width of my screen is enough add an error margin of lets say 100 columns and you are safe with me.
--- End quote ---
In future, the "cursor right" key will not be restricted anymore (like in other editors / notepad++ with "virtual space"). The scroll bar will extend, if the key is hold or repeatedly pressed.
But, if you want to use the mouse to place the caret (and maybe the scroll vertically on the scrollbar or with an tilt-able wheel) then you need some already available scroll range.
- You may want to stay within the range of the longest line, eg all other text will be placed below/above the content of the longest line
- You may just want to scroll "a bit" beyond that (100 chars is probably the amount that fits into the visible part of your editor?)
- You may want to go really far?
Git main branch already has options to chose from...
--- End quote ---
the visible part of my window is around 184 chars, or at least that's what the editor reports when I place the cursor there, and I have the visible right margin set to 120 chars.
I do not need to mouse click on anything really farthest than 180 to 200 chars as my code is wrapped on the 120 chars limit and only the comments at the end of the line occupy space beyond that but I find my self clicking on the extremes to add those comments instead of moving around with the arrow keys most of the time.
440bx:
I very commonly use the caret past EOL.
That said it is rare that I need to put the caret on column 1000 or even past 512.
To me personally, what is truly important is being able to scroll vertically from the current caret column position and have the caret _remain_ in that column regardless of where the line ends.
I find editors like notepad where the cursor jumps from one end of line to another to be utterly useless and extremely aggravating to boot.
Navigation
[0] Message Index
[#] Next page