From 20231b769d237b36114731b57307e1163e84ac09 Mon Sep 17 00:00:00 2001 From: Lukas Holecek Date: Thu, 9 Aug 2012 17:32:39 +0200 Subject: fakevim: Clipboard data format compatible with Vim Store clipboard data that can be used by Vim and vice versa. Change-Id: If1eb436fa371afeff39fd37353fe0841dafe169a Reviewed-by: hjk --- src/plugins/fakevim/fakevimhandler.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/plugins/fakevim/fakevimhandler.h') diff --git a/src/plugins/fakevim/fakevimhandler.h b/src/plugins/fakevim/fakevimhandler.h index 1e6d5a2142..7ef0d1afbf 100644 --- a/src/plugins/fakevim/fakevimhandler.h +++ b/src/plugins/fakevim/fakevimhandler.h @@ -41,10 +41,12 @@ namespace Internal { enum RangeMode { + // Reordering first three enum items here will break + // compatibility with clipboard format stored by Vim. RangeCharMode, // v RangeLineMode, // V - RangeLineModeExclusive, RangeBlockMode, // Ctrl-v + RangeLineModeExclusive, RangeBlockAndTailMode // Ctrl-v for D and X }; -- cgit v1.2.1