[gtksourceview/wip/chergert/vim] leave note about linewise inclusivity
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview/wip/chergert/vim] leave note about linewise inclusivity
- Date: Tue, 2 Nov 2021 16:37:51 +0000 (UTC)
commit 3e870fd92e6c9b858cacd1b2f564f4ed2ff8561d
Author: Christian Hergert <chergert redhat com>
Date: Tue Nov 2 09:37:45 2021 -0700
leave note about linewise inclusivity
gtksourceview/vim/gtk-source-vim-motion.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/gtksourceview/vim/gtk-source-vim-motion.c b/gtksourceview/vim/gtk-source-vim-motion.c
index be6688f4..ba7a2050 100644
--- a/gtksourceview/vim/gtk-source-vim-motion.c
+++ b/gtksourceview/vim/gtk-source-vim-motion.c
@@ -1353,7 +1353,8 @@ gtk_source_vim_motion_handle_keypress (GtkSourceVimState *state,
case GDK_KEY_G:
if (gtk_source_vim_state_get_count_set (state))
return gtk_source_vim_motion_complete (self, motion_line_number, INCLUSIVE);
- return gtk_source_vim_motion_complete (self, motion_last_line_first_char, EXCLUSIVE);
+ /* TODO: this needs to be inclusive of the whole line */
+ return gtk_source_vim_motion_complete (self, motion_last_line_first_char, INCLUSIVE);
case GDK_KEY_g:
self->g_command = TRUE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]