[gnome-builder/wip/vim] vim: update comment on search TODO
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/vim] vim: update comment on search TODO
- Date: Wed, 1 Oct 2014 22:11:30 +0000 (UTC)
commit f57b70dcea26d7701406be18bdcd6047b5aa14bb
Author: Christian Hergert <christian hergert me>
Date: Wed Oct 1 14:45:13 2014 -0700
vim: update comment on search TODO
src/editor/gb-editor-vim.c | 12 ++++++++----
1 files changed, 8 insertions(+), 4 deletions(-)
---
diff --git a/src/editor/gb-editor-vim.c b/src/editor/gb-editor-vim.c
index 414f3c2..351ea09 100644
--- a/src/editor/gb-editor-vim.c
+++ b/src/editor/gb-editor-vim.c
@@ -1258,8 +1258,10 @@ gb_editor_vim_reverse_search (GbEditorVim *vim)
gtk_widget_grab_focus (GTK_WIDGET (vim->priv->text_view));
/*
- * And it also selects the word, and VIM does not (it just leaves us
- * on the word). So let's clear the selection too.
+ * TODO: It would be nice to clear the selection to match closer to
+ * VIM. However, we do a delayed selection of the match in the
+ * editor tab (which eventually needs to search asynchronously
+ * too). So we need a better way to do this.
*/
#if 0
gb_editor_vim_clear_selection (vim);
@@ -1318,8 +1320,10 @@ gb_editor_vim_search (GbEditorVim *vim)
gtk_widget_grab_focus (GTK_WIDGET (vim->priv->text_view));
/*
- * And it also selects the word, and VIM does not (it just leaves us
- * on the word). So let's clear the selection too.
+ * TODO: It would be nice to clear the selection to match closer to
+ * VIM. However, we do a delayed selection of the match in the
+ * editor tab (which eventually needs to search asynchronously
+ * too). So we need a better way to do this.
*/
#if 0
gb_editor_vim_clear_selection (vim);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]