From 1f4072dc7294e6c0b13af4243248a52e185cfc1a Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Thu, 28 Mar 2013 18:39:42 +0100 Subject: [PATCH] use a scoped edition in Repeated so that repeated actions have a single undo group --- src/main.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.cc b/src/main.cc index d5b1a40b..b0df788c 100644 --- a/src/main.cc +++ b/src/main.cc @@ -531,6 +531,7 @@ public: void operator() (Context& context) { + scoped_edition edition(context.editor()); int count = context.numeric_param(); do { m_func(context); } while(--count > 0); }