[gnome-builder] view: propagate command_str to Movement
- From: Sébastien Lafargue <slafargue src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] view: propagate command_str to Movement
- Date: Wed, 18 Nov 2015 15:11:39 +0000 (UTC)
commit 3a0170ad5e05fce452e5f77dce9c77684df98831
Author: Sebastien Lafargue <slafargue gnome org>
Date: Wed Nov 18 11:50:40 2015 +0100
view: propagate command_str to Movement
This way we can use it in detailled movement
functions
libide/ide-source-view-movements.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/libide/ide-source-view-movements.c b/libide/ide-source-view-movements.c
index 1f81e8e..03e2556 100644
--- a/libide/ide-source-view-movements.c
+++ b/libide/ide-source-view-movements.c
@@ -47,6 +47,7 @@ typedef struct
GtkTextIter insert; /* Current insert cursor location */
GtkTextIter selection; /* Current selection cursor location */
gint count; /* Repeat count for movement */
+ GString *command_str; /* Current command string */
gunichar command; /* Command that trigger some movements type. See , and
; in vim */
gunichar modifier; /* For forward/backward char search */
gunichar search_char; /* For forward/backward char search according to fFtT
vim modifier */
@@ -2029,6 +2030,7 @@ _ide_source_view_apply_movement (IdeSourceView *self,
mv.count = count;
mv.ignore_select = FALSE;
mv.ignore_target_offset = FALSE;
+ mv.command_str = command_str;
mv.command = command;
mv.modifier = modifier;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]