this.project = project;
}
public void init() {
LightVirtualFile groovyVirtualFile = new LightVirtualFile("response.html", "");
TextEditorProvider editorProvider = TextEditorProvider.getInstance();
FileEditor fileEditor = editorProvider.createEditor(project, groovyVirtualFile);
if (fileEditor instanceof TextEditor) {
editor = ((TextEditor) fileEditor).getEditor();
}
this.editorComponent = fileEditor.getComponent();
}