Jump to content
Muxe Inc Forums
Sign in to follow this  
dandv

Cosmetic issue - the editor status bar

Recommended Posts

dandv    0

It needs two or four extra useable characters for the line number info. When you have tens of thousands of lines in a file, you needs five digits to display them, so here is what you may get:

╚═══<·········>═DOS═[000·00]═CrLf═P)═2953:14632/613══▒▒▒▒

 

Notice that the last number should be 613NN, not just 613. And suppose the column position is greater than 10,000, you need an extra space for one digit.

 

Bottom line (forgive the pun :-), the status bar could be dynamically adjusted to provide room for the maximum amount of digits it needs to display. That should not happen when you open the file, because you may paste some huge text.

 

BTW, a nice touch to implement: when the editor/viewer are inactive (such as when calling Calculator (Ctrl+F6) from inside the editor/viewer), their status bar becomes a single line. This is useless, since its color also changes to reflec it's no longer active. And it's also frustrating if you need in Calculator to type some number from the status bar, like the hex offset in viewer.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×