[From nobody Sat Oct 17 12:27:09 2026
Received: (at submit) by bugs.debian.org; 13 Dec 2017 08:06:46 +0000
X-Spam-Checker-Version: SpamAssassin 3.4.1-bugs.debian.org_2005_01_02
 (2015-04-28) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-12.5 required=4.0 tests=BAYES_00,
 DKIM_ADSP_CUSTOM_MED,FOURLA,FREEMAIL_FROM,HAS_PACKAGE,NML_ADSP_CUSTOM_MED,
 RDNS_NONE,SPF_SOFTFAIL,XMAILER_REPORTBUG,X_DEBBUGS_CC autolearn=ham
 autolearn_force=no version=3.4.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 18; hammy, 150; neutral, 114; spammy,
 0. spammytokens: hammytokens:0.000-+--python3, 0.000-+--systemd, 
 0.000-+--H*M:reportbug, 0.000-+--H*MI:reportbug,
 0.000-+--H*x:7.1.7
Return-path: &lt;furquan.lp@gmail.com&gt;
Received: from [2405:204:c101:abb9:b6e0:d19e:32e7:2be]
 (helo=debian-home.local.html)
 by buxtehude.debian.org with esmtp (Exim 4.89)
 (envelope-from &lt;furquan.lp@gmail.com&gt;) id 1eP23x-0003KH-QA
 for submit@bugs.debian.org; Wed, 13 Dec 2017 08:06:46 +0000
Content-Type: text/plain; charset=&quot;us-ascii&quot;
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Furquan Ahmad &lt;furquan.lp@gmail.com&gt;
To: Debian Bug Tracking System &lt;submit@bugs.debian.org&gt;
Subject: gedit-plugin-bracket-completion: gedit plugin bracket-completion
 causes lag in text input
Message-ID: &lt;151315240163.9021.17953958161783433662.reportbug@debian-home.local.html&gt;
X-Mailer: reportbug 7.1.7
Date: Wed, 13 Dec 2017 13:36:41 +0530
X-Debbugs-Cc: furquan.lp@gmail.com
Delivered-To: submit@bugs.debian.org

Package: gedit-plugin-bracket-completion
Version: 3.22.0-3
Severity: important

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 &quot;/usr/lib/x86_64-linux-gnu/gedit/plugins/bracketcompletion.py&quot;, line 268, in on_event_after
    word, start, end = self.get_current_token()
  File &quot;/usr/lib/x86_64-linux-gnu/gedit/plugins/bracketcompletion.py&quot;, line 144, in get_current_token
    word = self._doc.get_text(start, end)
TypeError: Gtk.TextBuffer.get_text() takes exactly 4 arguments (3 given)

-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.14.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_IN.utf8, LC_CTYPE=en_IN.utf8 (charmap=UTF-8), LANGUAGE=en_IN:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages gedit-plugin-bracket-completion depends on:
ii  gedit                 3.22.1-1+b1
ii  gedit-plugins-common  3.22.0-3
ii  gir1.2-glib-2.0       1.54.1-3
ii  gir1.2-gtk-3.0        3.22.26-2
ii  gir1.2-peas-1.0       1.22.0-1+b1
ii  python3               3.6.3-2
ii  python3-gi            3.26.1-1

gedit-plugin-bracket-completion recommends no packages.

gedit-plugin-bracket-completion suggests no packages.

-- no debconf information
]