diff options
| author | Maxime Coste <mawww@kakoune.org> | 2017-09-28 11:11:29 +0800 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2017-09-28 11:11:29 +0800 |
| commit | 0da5cabbfe3009d9d29b0d2d28381b252aadbe40 (patch) | |
| tree | 2100a786148deb0794e4b55f06e2d94d35f87bec /src/shared_string.cc | |
| parent | e53cb356a70ffb2ac70f65f3d2657973a177f8d4 (diff) | |
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
Diffstat (limited to 'src/shared_string.cc')
0 files changed, 0 insertions, 0 deletions
