From a097129f6847f85035f3b43cf3f36353b82124bc Mon Sep 17 00:00:00 2001
From: Chris Lahey <clahey@src.gnome.org>
Date: Tue, 11 Jan 2000 22:10:20 +0000
Subject: 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
---
 e-util/e-text-event-processor-emacs-like.c | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

(limited to 'e-util/e-text-event-processor-emacs-like.c')

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:
-- 
cgit