Use a scoped edition when pasting

This commit is contained in:
Maxime Coste 2014-01-30 20:46:15 +00:00
parent 410932330c
commit 14f91e7132

View File

@ -554,6 +554,7 @@ void paste(Context& context, int)
break; break;
} }
} }
ScopedEdition edition(context);
if (linewise) if (linewise)
insert<adapt_for_linewise(mode)>(context.buffer(), context.selections(), strings); insert<adapt_for_linewise(mode)>(context.buffer(), context.selections(), strings);
else else