[Home] [Downloads] [Search] [Help/forum]

Gammon Forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  Suggestions
. . -> [Subject]  auto-wrap and textrectangle
Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?

auto-wrap and textrectangle

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


Posted by Fiendish   USA  (1,641 posts)  [Biography] 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
[Go to top] top

Posted by Fiendish   USA  (1,641 posts)  [Biography] 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
[Go to top] top

Posted by Twisol   USA  (2,257 posts)  [Biography] 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
[Go to top] top

Posted by Nick Gammon   Australia  (21,322 posts)  [Biography] 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
[Go to top] top

Posted by Nick Gammon   Australia  (21,322 posts)  [Biography] 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
[Go to top] top

Posted by Worstje   Netherlands  (899 posts)  [Biography] 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.
[Go to top] top

Posted by Fiendish   USA  (1,641 posts)  [Biography] 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
[Go to top] 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.


5,256 views.

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

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

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

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at FutureQuest]