Use a scoped edition when pasting
This commit is contained in:
parent
410932330c
commit
14f91e7132
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user