[gnome-builder] libide: test smart-backspace with -b in test app



commit e14e5581368c8d18a7b40ba18271d13b51eabcfd
Author: Christian Hergert <christian hergert me>
Date:   Sat Mar 14 21:01:17 2015 -0700

    libide: test smart-backspace with -b in test app

 tests/test-ide-source-view.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/tests/test-ide-source-view.c b/tests/test-ide-source-view.c
index 0e51b34..fbfdfbe 100644
--- a/tests/test-ide-source-view.c
+++ b/tests/test-ide-source-view.c
@@ -39,6 +39,7 @@ static gint            gExitCode = EXIT_SUCCESS;
 static gboolean        gWordCompletion;
 static gboolean        gDarkMode;
 static gboolean        gSearchShadow;
+static gboolean        gSmartBackspace;
 static gboolean        gDebugScrollOffset;
 static gchar          *gCss = "\
 @binding-set file-keybindings { \
@@ -171,6 +172,7 @@ add_buffer (IdeBuffer *buffer)
                            "show-right-margin", TRUE,
                            "show-search-bubbles", TRUE,
                            "show-search-shadow", gSearchShadow,
+                           "smart-backspace", gSmartBackspace,
                            "snippet-completion", TRUE,
                            "visible", TRUE,
                            NULL);
@@ -705,6 +707,7 @@ main (int argc,
     { "vim", 'm', 0, G_OPTION_ARG_NONE, &vim, N_("Use Vim keybindings") },
     { "dark", 'd', 0, G_OPTION_ARG_NONE, &gDarkMode, N_("Use dark mode") },
     { "shadow", 's', 0, G_OPTION_ARG_NONE, &gSearchShadow, N_("Show shadow when searching") },
+    { "smart-backspace", 'b', 0, G_OPTION_ARG_NONE, &gSmartBackspace, N_("Enable smart backspace") },
     { "debug-scroll-offset", 0, 0, G_OPTION_ARG_NONE, &gDebugScrollOffset,
       N_("Render a rectangle over the visible region taking scroll offset into account.") },
     { NULL }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]