[gtksourceview/wip/chergert/vim: 172/293] return that we handled visual transition
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview/wip/chergert/vim: 172/293] return that we handled visual transition
- Date: Fri, 5 Nov 2021 04:23:03 +0000 (UTC)
commit a46ad4706c1b614b1e37d2b885f8f1eecb5fd9a9
Author: Christian Hergert <chergert redhat com>
Date: Sat Oct 30 08:48:38 2021 -0700
return that we handled visual transition
gtksourceview/vim/gtk-source-vim-normal.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtksourceview/vim/gtk-source-vim-normal.c b/gtksourceview/vim/gtk-source-vim-normal.c
index ee6681f9..2597390a 100644
--- a/gtksourceview/vim/gtk-source-vim-normal.c
+++ b/gtksourceview/vim/gtk-source-vim-normal.c
@@ -921,11 +921,11 @@ key_handler_initial (GtkSourceVimNormal *self,
case GDK_KEY_v:
gtk_source_vim_normal_begin_visual (self, GTK_SOURCE_VIM_VISUAL_CHAR);
- break;
+ return TRUE;
case GDK_KEY_V:
gtk_source_vim_normal_begin_visual (self, GTK_SOURCE_VIM_VISUAL_LINE);
- break;
+ return TRUE;
default:
break;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]