ref #6925 Inject context into operations to allow sync/async execution
Remove unused throws statement
fix #6922 Migrate Term Editor