summaryrefslogtreecommitdiff
path: root/src/input_handler.cc
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2018-02-24 23:54:56 +1100
committerMaxime Coste <mawww@kakoune.org>2018-02-25 00:05:05 +1100
commit67424aae1e00196faf303201544435b30b82b16d (patch)
treed86bdb1888d25c979bd712c6a2b58ba9e29fc490 /src/input_handler.cc
parent171e78706325df34afd95e3582c88b419b9e9313 (diff)
Remove avoidance of end of lines
Various places in Kakoune code used to modify selections so that cursors would not lie on an end of line. Remove those to increase Kakoune's consistency and simplicity. Now that end of lines are highlighted separately, they should not be handled specially in most commands.
Diffstat (limited to 'src/input_handler.cc')
-rw-r--r--src/input_handler.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/input_handler.cc b/src/input_handler.cc
index 3662e12f..752b642c 100644
--- a/src/input_handler.cc
+++ b/src/input_handler.cc
@@ -1095,7 +1095,6 @@ public:
sel.cursor() = context().buffer().char_prev(sel.cursor());
}
}
- selections.avoid_eol();
}
}