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;
|
||||
}
|
||||
}
|
||||
ScopedEdition edition(context);
|
||||
if (linewise)
|
||||
insert<adapt_for_linewise(mode)>(context.buffer(), context.selections(), strings);
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue
Block a user