ZTree.com  | ZEN  | About...  

 Index   Back

The [current/total] display should not be costly   [ZEP]

By: Slobodan Vujnovic   Homepage   France  
Date: Mar 05,2021 at 21:38
In Response to: [ZEP] Viewer - Line display as [current/total] lines (Slobodan Vujnovic)

I realize that it may be very costly for the Viewer to go to
the end of the file to find out the last line. This may be especially
costly in rapid Autoview scrolling through many files.

I suggest the following:

1. If the Line display is not ON, don't parse the file for the
total line count.

2. If it is ON, and the file size is, say, above 5K, show the display
as [current/?], which will tell the user to hit End, Home. This would show


Messages in this Thread

95,371 Postings in 12,032 Threads, 350 registered users, 67 users online (1 registered, 66 guests)
Index | Admin contact |   Forum Time: May 8, 2021 - 5:31 am UTC  |  Hits:39,370,775  (4,009 Today )
RSS Feed