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 143827 - option to insert a new-line at a given column
option to insert a new-line at a given column
Status: RESOLVED OBSOLETE
Product: gedit
Classification: Applications
Component: general
2.24.x
Other Linux
: Low enhancement
: ---
Assigned To: Gedit maintainers
gedit QA volunteers
: 572860 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2004-06-06 20:21 UTC by Sebastien Bacher
Modified: 2020-11-24 09:59 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch for the build system (1.36 KB, text/plain)
2005-02-07 17:19 UTC, Marc Maurer
Details
and the plugin itself as a tarball (4.30 KB, application/octet-stream)
2005-02-07 17:21 UTC, Marc Maurer
Details
improved plugin (tar.gz) (4.46 KB, application/x-compressed-tar)
2005-02-07 22:05 UTC, Marc Maurer
Details

Description Sebastien Bacher 2004-06-06 20:21:08 UTC
This bug has been reported in the Debian BTS: http://bugs.debian.org/205908

"I would like an option to cut (== insert a new line) at a given columns
and not only to wrap the lines."
Comment 1 Carl Devos 2005-02-02 21:09:21 UTC
This feature exists already in nedit 5.4.
First you have to select wrap continous (in preferences), then when you 'save
as...' there is a checkbox: 'add line break where wrapped' (there a confirmation
window as it is irreversible). See http://zongo.be/pic/nedit_screenshot.png
I don't know whether the  it's the best place to check, but it could be
implemented as plugin.
Comment 2 Marc Maurer 2005-02-07 17:19:28 UTC
Created attachment 37114 [details]
patch for the build system
Comment 3 Marc Maurer 2005-02-07 17:21:03 UTC
Created attachment 37115 [details]
and the plugin itself as a tarball

This is a good start, and it would even be save to commit, but I'll tweak it
some more.

Mimetype specific line breaking can be added as well. For now, LaTeX line
endings (\\) are honored as an example
Comment 4 Marc Maurer 2005-02-07 22:05:45 UTC
Created attachment 37136 [details]
improved plugin (tar.gz)

Better line merging capabilities, taking trailing whitespace into account, and
\r\n newline handling.
Comment 5 Loïc Minier 2005-09-24 16:00:23 UTC
Kenneth P. Turvey added in Debian bug http://bugs.debian.org/329400 that it
would be nice if the resulting wrapping could also handle things such as quotes
for mails or Usenet posts (lines starting with "> " would be wrapped with the
same prefix).
Comment 6 Loïc Minier 2005-09-24 16:05:10 UTC
One generic solution to this bug is also to provide a plugin to filter data
through a command, such as "par", as noted in bug 317112.
Comment 7 Paolo Borelli 2009-12-30 14:39:13 UTC
*** Bug 572860 has been marked as a duplicate of this bug. ***
Comment 8 Sébastien Wilmet 2020-11-24 09:59:15 UTC
Mass-closing of all gedit bugzilla tickets.

Special "code" to find again all those gedit bugzilla tickets that were open before the mass-closing:

2bfe1b0590a78457e1f1a6a90fb975f5878cb60064ccfe1d7db76ca0da52f0f3

By searching the above sha256sum in bugzilla, the gedit contributors can find again the tickets. We may be interested to do so when we work on a specific area of the code, to at least know the known problems and possible enhancements.

We do this mass-closing because bugzilla.gnome.org is being replaced by gitlab.gnome.org.