This patch changes the Pd window to make line breaks at word boundaries. This is more legible than the default text widget behavior, which is to break at character boundaries.
You seem to have CSS turned off.
Please don't fill out this field.
this would make a good GUI plugin, it would be simple, something like:
.pdwindow.text configure -wrap word
I'm not quite sure what the purpose would be. I'm submi
tting this as an improvement over tk's default wrapping
, which splits atoms in the pdwindow. I suppose there's
the slight side effect of introducing more ambiguity b
etween word wrapping and the line breaks which represen
t the end of a message, but generally one scans for "pr
int" or whatever one specified as an argument to print,
followed by a colon. (Anyhow, the way to get rid of t
hat ambiguity altogether is to have two bgcolors that a
lternate each time something is posted to the pdwindow.
In all the tools I use, from terminals to log viewers to programming editors, they wrap on characters rather than words. That's pretty typical for UNIX or GNU tools. I am sure many people would prefer word wrapping, therefore a GUI plugin gives us both options.
Sign up for the SourceForge newsletter: