fix testLightBulbIsHiddenWhenFixRangeIsCollapsed

This commit is contained in:
andrey zaytsev
2018-03-06 17:18:34 +03:00
parent 0ef615bb31
commit e9e3a62224
@@ -25,6 +25,7 @@ public class IntentionsUIImpl implements IntentionsUI {
Editor editor = cachedIntentions.getEditor();
if (!ApplicationManager.getApplication().isUnitTestMode() && !editor.getContentComponent().hasFocus()) return;
if (HintManager.getInstance().hasShownHintsThatWillHideByOtherHint(false)) return;
if (!cachedIntentions.showBulb()) return;
Project project = cachedIntentions.getProject();
// do not show intentions if caret is outside visible area
LogicalPosition caretPos = editor.getCaretModel().getLogicalPosition();