void () { largeFileEditor.getEditor().setHeaderComponent(mySearchReplaceComponent); mySearchReplaceComponent.requestFocusInTheSearchFieldAndSelectContent(largeFileEditor.getProject()); mySearchReplaceComponent.getSearchTextComponent().selectAll(); }