Dear Maintainer,
When using the gedit plugin 'bracket-completion' text input will occasionally
slow down to the point that restarting the text-editor is the only way to
continue editing the text. This problem occurs when the bracket-completion
plugin is active and completable characters are entered in the editor
(backticks or parantheses for example).
The following messages can be seen repeated over and over when gedit is
launched from a terminal and the problem is triggered:
Traceback (most recent call last):
File "/usr/lib/x86_64-linux-gnu/gedit/plugins/bracketcompletion.py", line 268, in on_event_after
word, start, end = self.get_current_token()
File "/usr/lib/x86_64-linux-gnu/gedit/plugins/bracketcompletion.py", line 144, in get_current_token
word = self._doc.get_text(start, end)
TypeError: Gtk.TextBuffer.get_text() takes exactly 4 arguments (3 given)