[gnome-builder/auto-indent] auto-indent: add # to trigger list.
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/auto-indent] auto-indent: add # to trigger list.
- Date: Thu, 18 Sep 2014 20:30:21 +0000 (UTC)
commit fb141448dc1d97abdbb19171fcc921f6563dd39d
Author: Christian Hergert <christian hergert me>
Date: Thu Sep 18 13:28:54 2014 -0700
auto-indent: add # to trigger list.
This will allow us to unindent preprocessor directives once we get to
unindenting text.
src/editor/gb-source-auto-indenter-c.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/editor/gb-source-auto-indenter-c.c b/src/editor/gb-source-auto-indenter-c.c
index 3be2b8a..0f0950d 100644
--- a/src/editor/gb-source-auto-indenter-c.c
+++ b/src/editor/gb-source-auto-indenter-c.c
@@ -424,6 +424,7 @@ gb_source_auto_indenter_c_is_trigger (GbSourceAutoIndenter *indenter,
case GDK_KEY_KP_Enter:
case GDK_KEY_slash:
case GDK_KEY_braceright:
+ case GDK_KEY_numbersign:
return TRUE;
default:
return FALSE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]