After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 572860 - Word Wrap by right margin
Word Wrap by right margin
Status: RESOLVED DUPLICATE of bug 143827
Product: gedit
Classification: Applications
Component: general
2.24.x
Other All
: Normal enhancement
: ---
Assigned To: Gedit maintainers
Gedit maintainers
Depends on:
Blocks:
 
 
Reported: 2009-02-23 15:25 UTC by Chris Browne
Modified: 2009-12-30 14:39 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement



Description Chris Browne 2009-02-23 15:25:09 UTC
Currently, in gedit you have the option to enable word wrapping - but only by window size.  I see the sense in this as a text viewer, but as a text -editor- it doesn't make a whole lot of sense.  If I open an 80-column file and resize the window, sure it wraps properly and I can read it without horizontal scrolling - great; we all hate horizontal scrolling.  However, I would argue that horizontal scrolling is a minor aesthetic issue; whereas wrapping by right-margin is a usability issue.  Users wanting to create standard-width documents, for example for sending via email (to ensure the document displays correctly on the recipient's 80x20 xterm), for inclusion in an IRC MOTD (which is not guaranteed to be wrapped by clients, and usually includes items which absolutely cannot be wrapped such as ASCII art), for use in a .signature file, for use in a .plan file, for use in a .motd file, all of which can (and often are) used in terminal-based applications.
This also highlights the fact that wrapping does not have the option to add linebreaks while it is wrapping.  It appears very much as though the word wrap feature has been created specifically as a viewer feature rather than an editor feature.  I know there are various issues with word-wrapping adding linebreaks (such as what happens if I edit line 22 in a 2000 line document, throwing every single other line out by about 5 characters) - but it's not impossible to implement this functionality.

Incidentally, I don't use gedit often - I tend to use vim; but I recently lose my escape key, which makes vim a -lot- harder to use.  So I've started using gedit for my text editing tasks.
Comment 1 Romano Giannetti 2009-07-06 15:47:30 UTC
This is a "me too" for this wishlist. Adding "physical wordwrap" would be really useful.
Comment 2 Giustino Borzacchiello 2009-10-14 10:18:56 UTC
I'd like this feature too! It would be really useful.
Comment 3 Paolo Borelli 2009-12-30 14:39:13 UTC

*** This bug has been marked as a duplicate of bug 143827 ***