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
This commit is contained in:
Chris Lahey
2000-01-11 22:10:20 +00:00
parent a01de808cd
commit a097129f68
11 changed files with 393 additions and 22 deletions

View File

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