Page 1 of 1

Have wordwrap user selectable in Quick File View

Posted: 18 Aug 2008 22:47
by j_c_hallgren

Code: Select all

v7.40.0025 - 2008-08-18 15:19
    * Quick File View: Now the horizontal scrollbar is dropped in favor 
      of wordwrap. You see one more line (where the scrollbar was) and 
      there's no need to scroll anymore to see the end of long lines.
When I saw this, I felt somewhat :cry: and also :P , because I really liked that this view did not wrap! I have some files that have fairly long data lines and using this feature, I was better able to see how the text on adjacent/close lines related to each other or not, but now one line of data takes a good part of window...If I wanted wrap, then I'd use Raw View, but that method does not allow me to select text and copy it.

So...Ideally, I'd like an option on the panel that allows one to select wrap or not that would remain set on/off as "wrap" on Raw View does so I could set it and forget it, yet switch easily if I wanted to.

If not, then have some way for user to decide which style they prefer as I'd certainly pick no-wrap!

Re: Have wordwrap user selectable in Quick File View

Posted: 18 Aug 2008 23:00
by admin
Dead sure that somebody would come up with this... :P

Of course, I tried to make it user selectable on the fly in Quick File View, but I did not like how it works. The standard Edit control I'm using here cannot change that style on the fly (AFAIK). You must actually destroy it and re-create it from scratch. Selections and scroll positions are lost. Try it in Notepad (uses the same control) and you see what I mean: same problem there.

Oh yes, the other reason was: I was just too lazy for this soft stuff this morning. So I simply made the decision for you: wordwrap! But, of course, you don't like it! :wink:

Ok, I can let you tweak it, or add it to configuration. Not sure yet...

Re: Have wordwrap user selectable in Quick File View

Posted: 18 Aug 2008 23:08
by j_c_hallgren
admin wrote:Dead sure that somebody would come up with this... :P

Oh yes, the other reason was: I was just too lazy for this soft stuff this morning. So I simply made the decision for you: wordwrap! But, of course, you don't like it! :wink:
Sorry bout that! :roll: But it does make usage of this nice feature less practical in many cases...and I'll agree that in some cases, it does make it more practical also, but not that often for me.
admin wrote:Ok, I can let you tweak it, or add it to configuration. Not sure yet...
Well, I realize that tweak is the easiest to code, but from a usability POV, a Config setting allows user to switch it temporarily if needed with a lot less effort.

Addendum: Since I tend to access this via TB icon for Full Screen Preview, could there be a right-click context menu on this icon with the wrap toggle as one option? That would make it very easy to access and set/reset yet keep it off the panel.

Re: Have wordwrap user selectable in Quick File View

Posted: 19 Aug 2008 17:18
by j_c_hallgren
:D THANKS! I see the new checkbox and it's very nice and convenient!

Re: Have wordwrap user selectable in Quick File View

Posted: 19 Aug 2008 20:18
by admin
j_c_hallgren wrote::D THANKS! I see the new checkbox and it's very nice and convenient!
Yep, I agree. :D

Re: Have wordwrap user selectable in Quick File View

Posted: 21 Aug 2008 17:55
by TheQwerty
Mouse Wheel scrolling isn't working here for me and my Logitech. I assume this dialog and the one for multi-line Input() and Text() are all the same (or using the same controls) as it doesn't work there either.

Also, and more on topic, can we get a "w" switch for those two commands to toggle the wrapping?

Re: Have wordwrap user selectable in Quick File View

Posted: 21 Aug 2008 19:08
by serendipity
Works fine here on my NX60 Logitech.

Re: Have wordwrap user selectable in Quick File View

Posted: 21 Aug 2008 19:18
by TheQwerty
False alert.. My AHK script was blocking it.

Guess I really need to go through and determine which controls have MRU/Auto-Complete lists again.

Re: Have wordwrap user selectable in Quick File View

Posted: 21 Aug 2008 20:13
by admin
TheQwerty wrote:Also, and more on topic, can we get a "w" switch for those two commands to toggle the wrapping?
Huh? There is an Alt+W accelerator built in already.

Re: Have wordwrap user selectable in Quick File View

Posted: 21 Aug 2008 20:19
by TheQwerty
admin wrote:
TheQwerty wrote:Also, and more on topic, can we get a "w" switch for those two commands to toggle the wrapping?
Huh? There is an Alt+W accelerator built in already.
I mean for scripting, so that the Text() and multi-line Input() commands can define that value.

Re: Have wordwrap user selectable in Quick File View

Posted: 21 Aug 2008 20:23
by admin
TheQwerty wrote:
admin wrote:
TheQwerty wrote:Also, and more on topic, can we get a "w" switch for those two commands to toggle the wrapping?
Huh? There is an Alt+W accelerator built in already.
I mean for scripting, so that the Text() and multi-line Input() commands can define that value.
Aaahhhhh! Yes, makes sense.