From 6f18cbbb326ba4d290e2879934839dc618bd1bf7 Mon Sep 17 00:00:00 2001 From: eidheim Date: Sat, 26 Mar 2016 13:30:45 +0100 Subject: [PATCH] Improved undo/redo for backspace to line above --- src/source.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/source.cc b/src/source.cc index cb90111..8376501 100644 --- a/src/source.cc +++ b/src/source.cc @@ -1307,8 +1307,9 @@ bool Source::View::on_key_press_event_basic(GdkEventKey* key) { return true; } + auto stop=Gsv::View::on_key_press_event(key); get_source_buffer()->end_user_action(); - return Gsv::View::on_key_press_event(key); + return stop; } //Bracket language indentation