Skip to content

Control + Click to add new cursors doesn't work #4

Description

@Spikatrix

I've installed the MultiCursor tool as per the instructions and have enabled it.

Control + Click to add new cursors doesn't work. I get the following error when doing so:

Traceback (most recent call last):
  File "/home/jas/.local/share/gedit/plugins/multicursor.py", line 106, in on_event
    self.add_cursor(pos, pos)
  File "/home/jas/.local/share/gedit/plugins/multicursor.py", line 276, in add_cursor
    cursor = Cursor(self.view, start_iter, end_iter)
  File "/home/jas/.local/share/gedit/plugins/multicursor.py", line 446, in __init__
    self.tag = MarkTag(self.view, 'multicursor', start_iter, end_iter)
  File "/home/jas/.local/share/gedit/plugins/multicursor.py", line 596, in __init__
    self.start_mark = self.doc.create_mark(None, start_iter, True)
  File "/usr/lib/python3.5/site-packages/gi/overrides/Gtk.py", line 722, in create_mark
    return Gtk.TextBuffer.create_mark(self, mark_name, where, left_gravity)
TypeError: argument where: Expected Gtk.TextIter, but got multicursor._ResultTuple

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions