Don't handle C-Enter.

2001-02-08  Christopher James Lahey  <clahey@ximian.com>

	* gal/e-text/e-text-event-processor-emacs-like.c
	(e_text_event_processor_emacs_like_event): Don't handle C-Enter.

svn path=/trunk/; revision=8107
This commit is contained in:
Christopher James Lahey
2001-02-08 16:48:09 +00:00
committed by Chris Lahey
parent 3d3ac18e0e
commit 6827ac920d
2 changed files with 8 additions and 8 deletions
+4 -4
View File
@@ -303,14 +303,14 @@ e_text_event_processor_emacs_like_event (ETextEventProcessor *tep, ETextEventPro
break;
case GDK_Return:
case GDK_KP_Enter:
if ((key.state & GDK_CONTROL_MASK) || (!tep->allow_newlines)) {
command.action = E_TEP_ACTIVATE;
command.position = E_TEP_SELECTION;
} else {
if (tep->allow_newlines) {
command.action = E_TEP_INSERT;
command.position = E_TEP_SELECTION;
command.value = 1;
command.string = "\n";
} else {
command.action = E_TEP_ACTIVATE;
command.position = E_TEP_SELECTION;
}
break;
case GDK_Escape:
@@ -303,14 +303,14 @@ e_text_event_processor_emacs_like_event (ETextEventProcessor *tep, ETextEventPro
break;
case GDK_Return:
case GDK_KP_Enter:
if ((key.state & GDK_CONTROL_MASK) || (!tep->allow_newlines)) {
command.action = E_TEP_ACTIVATE;
command.position = E_TEP_SELECTION;
} else {
if (tep->allow_newlines) {
command.action = E_TEP_INSERT;
command.position = E_TEP_SELECTION;
command.value = 1;
command.string = "\n";
} else {
command.action = E_TEP_ACTIVATE;
command.position = E_TEP_SELECTION;
}
break;
case GDK_Escape: