EA-36997 - assert: FileManagerImpl.dispatchPendingEvents
This commit is contained in:
@@ -81,6 +81,10 @@ public class DeclarationHintSupport extends AbstractProjectComponent {
|
||||
|
||||
@Override
|
||||
public void mouseMoved(final EditorMouseEvent e) {
|
||||
if (DumbService.getInstance(myProject).isDumb() || !myProject.isInitialized()) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (e.isConsumed() || e.getArea() != EditorMouseEventArea.EDITING_AREA) {
|
||||
return;
|
||||
}
|
||||
@@ -91,10 +95,6 @@ public class DeclarationHintSupport extends AbstractProjectComponent {
|
||||
return;
|
||||
}
|
||||
|
||||
if (DumbService.getInstance(psiFile.getProject()).isDumb()) {
|
||||
return;
|
||||
}
|
||||
|
||||
final JetFile jetFile = (JetFile) psiFile;
|
||||
|
||||
int offset = editor.logicalPositionToOffset(editor.xyToLogicalPosition(e.getMouseEvent().getPoint()));
|
||||
|
||||
Reference in New Issue
Block a user