Page 1 of 1

Suggestion for the new Lister, view column and rows

Posted: 2009-04-22, 20:25 UTC
by Mikefield
Very often I view txt files, and have to know about column and rows.
The result is, I have to open the file with the Editor to find it out.
I suggest to add this in the viewer too.

mf

Posted: 2009-04-23, 10:18 UTC
by solid
If you mean the number of the column and row of the cursor position, support!

Posted: 2009-04-23, 11:53 UTC
by ouzoWTF
solid wrote:If you mean the number of the column and row of the cursor position, support!
:D

Posted: 2009-04-23, 17:53 UTC
by Mikefield
solid wrote:If you mean the number of the column and row of the cursor position, support!
Yes, indeed! The Number of ... :)
Thanks for clarify.

mf

Posted: 2009-04-23, 18:53 UTC
by Hacker
Hello Mikefield,
I am sure there already are some threads about this topic if you search for line numbers lister.

HTH
Roman

Posted: 2009-04-24, 03:58 UTC
by ado
well the only problem would be, that if you are looking to big file (I am looking to log files up to 1GB for example), in order to display row nr you would have to read whole that file till cursor to count rows - i.e. it would become quite slow...

ado

Like in UV ?

Posted: 2009-04-24, 04:18 UTC
by Clo
2ado

:) Hello !
… it would become quite slow...
• Right, but there could be a trick : Display the columns numbers (anyway, not huge) in a (missing) status-bar or whatever,
and display the rows numbers in a gutter only by bunches like i.e. 10-20-30 etc. or with larger steps (configurable),
like it's already available in Universal Viewer (by Alextp)…

:mrgreen: KR
Claude
Clo

Posted: 2009-04-24, 13:17 UTC
by Hacker
Clo,
there could be a trick : Display the columns numbers (anyway, not huge) in a (missing) status-bar or whatever,
and display the rows numbers in a gutter only by bunches like i.e. 10-20-30 etc. or with larger steps
I do not understand how this could help. You do not get rows nor tens of line numbers without counting all line endings.
Still, some time ago icfu proposed some caching similar to ListXP, IIRC.

Roman