[gnome-builder/wip/vim] vim: remove dead comment.
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/vim] vim: remove dead comment.
- Date: Thu, 2 Oct 2014 11:09:16 +0000 (UTC)
commit 2296246763a5bd53a84aa52be0ab824bcdfa0f9d
Author: Christian Hergert <christian hergert me>
Date: Thu Oct 2 04:09:11 2014 -0700
vim: remove dead comment.
src/editor/gb-editor-vim.c | 12 ------------
1 files changed, 0 insertions(+), 12 deletions(-)
---
diff --git a/src/editor/gb-editor-vim.c b/src/editor/gb-editor-vim.c
index b9682db..a21cb57 100644
--- a/src/editor/gb-editor-vim.c
+++ b/src/editor/gb-editor-vim.c
@@ -439,18 +439,6 @@ gb_editor_vim_set_mode (GbEditorVim *vim,
g_signal_emit (vim, gSignals [COMMAND_VISIBILITY_TOGGLED], 0,
(mode == GB_EDITOR_VIM_COMMAND));
- /*
- * TODO: This should actually happen always on insert->normal transition.
- *
- * If we are are going to normal mode and are at the end of the line,
- * then move back a character so we are on the last character as opposed
- * to after it. This matches closer to VIM.
- */
- if (mode == GB_EDITOR_VIM_NORMAL)
- {
- /* TODO: Old code did not respect selections */
- }
-
g_object_notify_by_pspec (G_OBJECT (vim), gParamSpecs [PROP_MODE]);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]