From ac998d4afa7ac30953ef0c356eb451740e544315 Mon Sep 17 00:00:00 2001 From: Yevgen Muntyan <17531749+muntyan@users.noreply.github.com> Date: Wed, 5 Sep 2007 13:22:21 -0500 Subject: [PATCH] Unbroke autoindent --- moo/mooedit/mooeditinput.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moo/mooedit/mooeditinput.c b/moo/mooedit/mooeditinput.c index 9f109be0..82d77e49 100644 --- a/moo/mooedit/mooeditinput.c +++ b/moo/mooedit/mooeditinput.c @@ -1462,7 +1462,7 @@ handle_enter (MooTextView *view, gboolean indent; indent = view->priv->indenter && view->priv->enter_indents && - !(event->state & GDK_MODIFIER_MASK); + !(event->state & GDK_SHIFT_MASK); buffer = gtk_text_view_get_buffer (GTK_TEXT_VIEW (view)); has_selection = gtk_text_buffer_get_selection_bounds (buffer, &start, &end);