| author | Owen W. Taylor <otaylor@fishsoup.net> | 2012-03-11 16:53:02 (GMT) |
|---|---|---|
| committer | Owen W. Taylor <otaylor@fishsoup.net> | 2012-03-11 16:53:02 (GMT) |
| commit | 760c48e602f5855e017175a485bbe1e6ea17fbd0 (patch) | |
| tree | a18efd4b5e97b082fa39f24f0876c81c497caae6 | |
| parent | e10ed52a67c6c4aedfaf053d08f072dfcabcbcbe (diff) | |
Remove arg-highlight on calculatemaster
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.
| -rwxr-xr-x | lib/reinteract/shell_view.py | 2 |
1 files changed, 2 insertions, 0 deletions
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) |
