From f2c60c01aeeb5428bf4b8b471ed68d006bf4794f Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Tue, 3 Jun 2014 09:50:53 +0200 Subject: [PATCH] More logging --- qutebrowser/widgets/_completion.py | 2 ++ qutebrowser/widgets/statusbar/_command.py | 1 + 2 files changed, 3 insertions(+) diff --git a/qutebrowser/widgets/_completion.py b/qutebrowser/widgets/_completion.py index 0b2f6db84..3672881db 100644 --- a/qutebrowser/widgets/_completion.py +++ b/qutebrowser/widgets/_completion.py @@ -301,6 +301,8 @@ class CompletionView(QTreeView): logger.debug("Ignoring completion update") return + logger.debug("Updating completion, parts: {}, cursor_part {}".format(parts, cursor_part)) + if prefix != ':': # This is a search or gibberish, so we don't need to complete # anything (yet) diff --git a/qutebrowser/widgets/statusbar/_command.py b/qutebrowser/widgets/statusbar/_command.py index bd34a3a83..f8de9b39a 100644 --- a/qutebrowser/widgets/statusbar/_command.py +++ b/qutebrowser/widgets/statusbar/_command.py @@ -121,6 +121,7 @@ class Command(MinimalLineEdit): logger.debug("Cursor between spaces") spaces = True else: + logger.debug("Cursor not between spaces") spaces = False self._empty_item_idx = None cursor_pos -= len(self.prefix)