edit icon indicating copy to clipboard operation
edit copied to clipboard

Feature: Add total numbe of lines to `Statusbar`

Open zcobol opened this issue 8 months ago • 5 comments

When Ctrl+G there's no way to know the total number of lines in the editor w/out scrolling to the bottom. Please add the total number of lines to the statusbar

zcobol avatar May 28 '25 14:05 zcobol

To better understand your use case, can you explain what the number of lines has to do with Ctrl+G?

lhecker avatar May 28 '25 16:05 lhecker

I suspect it lets them know the exact maximum number they can type into the ^G dialog

DHowett avatar May 28 '25 16:05 DHowett

If that's true, you can also type a very large number (it's clamped) or simply press Ctrl-End to go to the end of the file (assuming your terminal doesn't have Ctrl-End bound as a key binding).

lhecker avatar May 28 '25 16:05 lhecker

Ctrl+End works okay when using a GUI. Booting Linux w/out a desktop, Ctrl+End just moves the point to the end of current line. But the editor looks good! The toolbar is awesome:

Image

zcobol avatar May 29 '25 00:05 zcobol

You could just add the last line number in the "gutter" at the very bottom with the rest of the line numbers, using say the the arrow down key never gets to it until you are actually at the last line(if that makes sense?)

DrunkenAlcoholic avatar Jun 05 '25 01:06 DrunkenAlcoholic