[PD-dev] [ pure-data-Patches-3383901 ] word wrap in pdwindow
SourceForge.net
noreply at sourceforge.net
Wed Aug 17 17:35:15 CEST 2011
Patches item #3383901, was opened at 2011-08-01 16:21
Message generated for change (Comment added) made by eighthave
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=3383901&group_id=55736
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Jonathan Wilkes (jancsika1)
Assigned to: Nobody/Anonymous (nobody)
Summary: word wrap in pdwindow
Initial Comment:
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.
----------------------------------------------------------------------
>Comment By: Hans-Christoph Steiner (eighthave)
Date: 2011-08-17 11:35
Message:
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.
----------------------------------------------------------------------
Comment By: Jonathan Wilkes (jancsika1)
Date: 2011-08-17 01:17
Message:
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.
)
----------------------------------------------------------------------
Comment By: Hans-Christoph Steiner (eighthave)
Date: 2011-08-16 23:30
Message:
this would make a good GUI plugin, it would be simple, something like:
.pdwindow.text configure -wrap word
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=3383901&group_id=55736
More information about the Pd-dev
mailing list