IdeFocusManager editor problem

 Code that my ToolWindow uses to throw focus back to the Editor is:

IdeFocusManager.getInstance(project).requestFocusInProject(editor.getContentComponent(), project);

The problem is that once this statement is executed, keystrokes like Enter and Backspace don't work in the Editor unless the Editor is clicked. 

0

请先登录再写评论。