提交 b64a8727 编写于 作者: B Benjamin Pasero

fix any use that causes issues

上级 f72f34e6
......@@ -136,7 +136,7 @@ export class ReplaceService implements IReplaceService {
constructor(
@ITelemetryService private telemetryService: ITelemetryService,
@IEventService private eventService: IEventService,
@IEditorService private editorService,
@IEditorService private editorService: IWorkbenchEditorService,
@IModelService private modelService: IModelService,
@ITextModelResolverService private textModelResolverService: ITextModelResolverService
) {
......@@ -148,7 +148,7 @@ export class ReplaceService implements IReplaceService {
public replace(match: FileMatchOrMatch, progress?: IProgressRunner, resource?: URI): TPromise<any>
public replace(arg: any, progress: IProgressRunner = null, resource: URI = null): TPromise<any> {
let bulkEdit: BulkEdit = createBulkEdit(this.eventService, this.editorService, null);
let bulkEdit: BulkEdit = createBulkEdit(this.eventService, this.textModelResolverService, null);
bulkEdit.progress(progress);
if (arg instanceof Match) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册