From 760c48e602f5855e017175a485bbe1e6ea17fbd0 Mon Sep 17 00:00:00 2001 From: "Owen W. Taylor" Date: Sun, 11 Mar 2012 12:53:02 -0400 Subject: [PATCH] Remove arg-highlight on calculate When the user calculates in arg-highlight mode, remove the arg-highlight instead of just popping down the doc popup and leaving things in an inconsistent state. --- lib/reinteract/shell_view.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/reinteract/shell_view.py b/lib/reinteract/shell_view.py index 8540206..a4c42fd 100755 --- a/lib/reinteract/shell_view.py +++ b/lib/reinteract/shell_view.py @@ -1059,6 +1059,8 @@ class ShellView(gtk.TextView): end_line = None self.__hide_completion() + if self.__arg_highlight_start: + self.__remove_arg_highlight(cursor_to_end=False) self.__doc_popup.popdown() buf.worksheet.calculate(end_line=end_line) -- 2.11.4.GIT