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 748655 - Multi-caret/Multi-line editing
Multi-caret/Multi-line editing
Status: RESOLVED OBSOLETE
Product: gtksourceview
Classification: Platform
Component: General
git master
Other All
: Normal enhancement
: ---
Assigned To: GTK Sourceview maintainers
GTK Sourceview maintainers
Depends on:
Blocks:
 
 
Reported: 2015-04-29 16:25 UTC by Moo
Modified: 2021-07-05 11:00 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Moo 2015-04-29 16:25:58 UTC
Multi-caret editing allows the user to activate two or more non-contiguous insertion points (identified by the blinking caret) within the document.  Each caret acts and operates independently of any other caret, and any edit operations the user executes are performed in all caret locations simultaneously.

So you can select multiple carets for example by Ctrl+Alt+ArrowKey.

Example you can select 10 lines, then type # and then all lines get #, and all of them are commented out.
Comment 1 Sébastien Wilmet 2015-05-01 10:57:05 UTC
That's something we want to include in GtkSourceView. There is already a gedit plugin doing that.
Comment 2 Cassidy James 2018-02-23 23:27:47 UTC
elementary would also love this, as we use GtkSourceView in elementary Code. Downstream bug report at https://github.com/elementary/code/issues/314
Comment 3 GNOME Infrastructure Team 2021-07-05 11:00:33 UTC
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org.
As part of that, we are mass-closing older open tickets in bugzilla.gnome.org
which have not seen updates for a longer time (resources are unfortunately
quite limited so not every ticket can get handled).

If you can still reproduce the situation described in this ticket in a recent
and supported software version, then please follow
  https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines
and create a new ticket at
  https://gitlab.gnome.org/GNOME/gtksourceview/-/issues/

Thank you for your understanding and your help.