Merge remote-tracking branch 'origin/master'

This commit is contained in:
Vladimir Orlov
2014-02-10 16:50:51 +04:00
@@ -24,6 +24,7 @@ import com.intellij.openapi.components.ServiceManager;
import com.intellij.openapi.editor.Editor;
import com.intellij.openapi.editor.EditorFactory;
import com.intellij.openapi.editor.event.EditorMouseEvent;
import com.intellij.openapi.editor.event.EditorMouseEventArea;
import com.intellij.openapi.editor.event.EditorMouseMotionListener;
import com.intellij.openapi.project.Project;
import com.intellij.util.Alarm;
@@ -66,6 +67,10 @@ public class ValueLookupManager implements EditorMouseMotionListener {
return;
}
if (e.getArea() != EditorMouseEventArea.EDITING_AREA) {
return;
}
Point point = e.getMouseEvent().getPoint();
if (myRequest != null && !myRequest.isKeepHint(editor, point)) {
hideHint();