aboutsummaryrefslogtreecommitdiffstats
path: root/e-util
diff options
context:
space:
mode:
authorChris Lahey <clahey@src.gnome.org>2000-01-12 06:10:20 +0800
committerChris Lahey <clahey@src.gnome.org>2000-01-12 06:10:20 +0800
commita097129f6847f85035f3b43cf3f36353b82124bc (patch)
tree75652d2005c7847795d31ff5aff49bd6cdb7c46b /e-util
parenta01de808cd46baea31419a42b221cb65974a9fb1 (diff)
downloadgsoc2013-evolution-a097129f6847f85035f3b43cf3f36353b82124bc.tar.gz
gsoc2013-evolution-a097129f6847f85035f3b43cf3f36353b82124bc.tar.zst
gsoc2013-evolution-a097129f6847f85035f3b43cf3f36353b82124bc.zip
Blocked the tab key from getting inserted into the buffer since the
* widgets/e-text-event-processor-emacs-like.c: Blocked the tab key from getting inserted into the buffer since the renderer doesn't know what a tab is. * widgets/e-text.c, widgets/e-text.h: Fixed a memory leak. Added a blinking cursor and scrolling for the text item. svn path=/trunk/; revision=1554
Diffstat (limited to 'e-util')
-rw-r--r--e-util/e-text-event-processor-emacs-like.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/e-util/e-text-event-processor-emacs-like.c b/e-util/e-text-event-processor-emacs-like.c
index 1d7d36d45f..6c7c86afdc 100644
--- a/e-util/e-text-event-processor-emacs-like.c
+++ b/e-util/e-text-event-processor-emacs-like.c
@@ -241,10 +241,9 @@ e_text_event_processor_emacs_like_event (ETextEventProcessor *tep, ETextEventPro
}
break;
case GDK_Tab:
- command.action = E_TEP_INSERT;
+ /* Don't insert literally */
+ command.action = E_TEP_NOP;
command.position = E_TEP_SELECTION;
- command.value = 1;
- command.string = "\t";
break;
case GDK_Return:
if (key.state & GDK_CONTROL_MASK) {
@@ -258,9 +257,9 @@ e_text_event_processor_emacs_like_event (ETextEventProcessor *tep, ETextEventPro
}
break;
case GDK_Escape:
+ /* Don't insert literally */
command.action = E_TEP_NOP;
command.position = E_TEP_SELECTION;
- /* Don't insert literally */
break;
default: