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 727777 - Warn the user when a very long line is loaded
Warn the user when a very long line is loaded
Status: RESOLVED DUPLICATE of bug 781372
Product: gtksourceview
Classification: Platform
Component: File loading and saving
unspecified
Other All
: Normal enhancement
: ---
Assigned To: GTK Sourceview maintainers
GTK Sourceview maintainers
: 552137 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2014-04-07 20:15 UTC by Sébastien Wilmet
Modified: 2017-04-25 09:26 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sébastien Wilmet 2014-04-07 20:15:04 UTC
Bugs about very long lines not well supported by GtkTextBuffer/GtkTextView are very common.

When loading a very long line, gedit could warn the user that some features may block the user interface.

In this warning info bar, we can imagine a button to split the very long line into lines of 80 characters for example (bonus point: split preferably at word boundaries). This splitting could even be done before the file is loaded into the buffer, so a very long line would never be present in a GtkTextBuffer in the first place. But it requires to stop a file loading in the middle of the operation, send the warning, wait for the response, and then resume the file loading.
Comment 1 Sébastien Wilmet 2014-07-21 10:52:55 UTC
*** Bug 552137 has been marked as a duplicate of this bug. ***
Comment 2 Sébastien Wilmet 2017-04-25 09:26:15 UTC

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