code icon indicating copy to clipboard operation
code copied to clipboard

Multi-cursor mode

Open elegaanz opened this issue 7 years ago • 5 comments

In some other editors (at least Atom) you can have multiple cursors (with Ctrl+click, or Ctrl+Shift+, and when you type something, text is inserted under both of them. It is really useful when you have to perform many times the same modification on various lines.

peek 16-01-2018 19-55

elegaanz avatar Jan 16 '18 18:01 elegaanz

I feel like this would require massive reworking of how GtkSourceView worked, but I agree if it were possible it's an awesome feature from other editors like Atom, VS Code, and Sublime.

cassidyjames avatar Jan 16 '18 19:01 cassidyjames

Note that gnome-builder which is also based on GtkSourceView already supports multiple cursors. There is also an open bugreport on GtkSourceView for multi-cursor.

eyelash avatar Jan 27 '18 08:01 eyelash

Any news on this one?

drequivalent avatar Feb 02 '19 18:02 drequivalent

@drequivalent any news on this would show up in the timeline here, whether it was someone commenting on this issue or a PR that was working on it.

cassidyjames avatar Feb 04 '19 18:02 cassidyjames

Marking this as dependent on upstream developments as I can't see us having the resources for making the significant changes to Gtk.TextBuffer/Gtk.SourceView required

jeremypw avatar Jun 18 '25 13:06 jeremypw