Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ MUSHclient ➜ Suggestions ➜ auto-wrap and textrectangle

auto-wrap and textrectangle

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Fiendish   USA  (2,537 posts)  Bio   Global Moderator
Date Sat 21 Aug 2010 01:07 AM (UTC)
Message
Make the "auto-wrap to window size" setting use the min of the textrectangle's width and the window's width instead of ignoring the textrectangle's potentially much smaller size.

https://github.com/fiendish/aardwolfclientpackage
Top

Posted by Fiendish   USA  (2,537 posts)  Bio   Global Moderator
Date Reply #1 on Sat 21 Aug 2010 01:23 AM (UTC)

Amended on Sat 21 Aug 2010 01:25 AM (UTC) by Fiendish

Message
Now that I poke around in it. I don't think wrap settings work correctly at all here. I uncheck the checkbox next to the wrap column, and my lines still wrap at whatever is in the number box. I check or uncheck auto-wrap, and the lines still wrap at whatever is in the number box. My checkboxes seem to do nothing. Maybe this should go in bug reports. :(

https://github.com/fiendish/aardwolfclientpackage
Top

Posted by Twisol   USA  (2,257 posts)  Bio
Date Reply #2 on Sat 21 Aug 2010 01:37 AM (UTC)
Message
Oddly, I believe that checkbox toggles whether it wraps at the nearest space or not.

'Soludra' on Achaea

Blog: http://jonathan.com/
GitHub: http://github.com/Twisol
Top

Posted by Nick Gammon   Australia  (23,158 posts)  Bio   Forum Administrator
Date Reply #3 on Sat 21 Aug 2010 05:46 AM (UTC)
Message
When in doubt, read the help for the dialog.

Help for the dialog said:

When this is checked, output from the MUD is wrapped at the nominated column in such a way that words are not broken into two (the line is wrapped at the previous space).


I admit that is slightly ambiguous. However unchecking it does the opposite of part of that sentence (words are then broken in two).

But if you can suggest better wording that fits into that amount of screen space, go ahead.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Nick Gammon   Australia  (23,158 posts)  Bio   Forum Administrator
Date Reply #4 on Sat 21 Aug 2010 05:48 AM (UTC)
Message
Fiendish said:

Make the "auto-wrap to window size" setting use the min of the textrectangle's width and the window's width instead of ignoring the textrectangle's potentially much smaller size.


I think you might have a good point here. It's an example of adding features later and not considering the impact on all the little checkboxes that have been there for ages.

Anyone think of a reason not to do it?

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Worstje   Netherlands  (899 posts)  Bio
Date Reply #5 on Sat 21 Aug 2010 06:03 AM (UTC)
Message
Sounds just fine.

I'd recommend leaving the naming just as it is (talking about window size even though it is not technically correct in all instances.) After all, a user doesn't give a damn about TextRectangles some plugin might have set up, and a window is probably close enough to make them go 'oooh I need this setting'.

So yeah, fully in favor.
Top

Posted by Fiendish   USA  (2,537 posts)  Bio   Global Moderator
Date Reply #6 on Thu 11 Apr 2013 02:20 AM (UTC)
Message
I'm not sure why it took so long to notice, but it looks like the wrap column isn't being updated when the font size changes.

https://github.com/fiendish/aardwolfclientpackage
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


20,866 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.