1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-12-27 05:33:17 +03:00
kakoune/test/regression/1580-A-not-moving-to-eol/cmd
Maxime Coste 0da5cabbfe Distinguish between modes being disabled temporarily and definitely
That way, insert mode knows when it can restore selections/avoid eol
instead of (wrongly) doing it in the destructor that ends up running
unpredictibly (as the mode is kept alive during its on_key call, even
though it can happen that it is not the active mode anymore at the end
of that call).

Fixes #1580
2017-09-28 11:11:29 +08:00

2 lines
7 B
Plaintext