From 92d7fe3d2aa24adcb21c8da2b407255eebc8031f Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Sat, 6 May 2006 20:55:52 +0000 Subject: [PATCH] a[space][tab] doesn't cycle anymore --- src/groupchat_control.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/groupchat_control.py b/src/groupchat_control.py index ffeee0fb1..a27917f7f 100644 --- a/src/groupchat_control.py +++ b/src/groupchat_control.py @@ -1303,6 +1303,9 @@ class GroupchatControl(ChatControlBase): cursor_position = message_buffer.get_insert() end_iter = message_buffer.get_iter_at_mark(cursor_position) text = message_buffer.get_text(start_iter, end_iter, False).decode('utf-8') + if text.endswith(' '): + if not self.last_key_tabs: + return False splitted_text = text.split() # command completion