mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-141464 Debugger popup dissappears when trying to hover mouse on "+"
This commit is contained in:
+24
@@ -301,4 +301,28 @@ public abstract class AbstractValueHint {
|
||||
protected <D> void showTreePopup(@NotNull DebuggerTreeCreator<D> creator, @NotNull D descriptor) {
|
||||
DebuggerTreeWithHistoryPopup.showTreePopup(creator, descriptor, getEditor(), myPoint, getProject());
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(Object o) {
|
||||
if (this == o) return true;
|
||||
if (o == null || getClass() != o.getClass()) return false;
|
||||
|
||||
AbstractValueHint hint = (AbstractValueHint)o;
|
||||
|
||||
if (!myProject.equals(hint.myProject)) return false;
|
||||
if (!myEditor.equals(hint.myEditor)) return false;
|
||||
if (myType != hint.myType) return false;
|
||||
if (myCurrentRange != null ? !myCurrentRange.equals(hint.myCurrentRange) : hint.myCurrentRange != null) return false;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
int result = myProject.hashCode();
|
||||
result = 31 * result + myEditor.hashCode();
|
||||
result = 31 * result + myType.hashCode();
|
||||
result = 31 * result + (myCurrentRange != null ? myCurrentRange.hashCode() : 0);
|
||||
return result;
|
||||
}
|
||||
}
|
||||
|
||||
-3
@@ -94,9 +94,6 @@ public class ValueLookupManager extends EditorMouseAdapter implements EditorMous
|
||||
if (myRequest != null && !myRequest.isKeepHint(editor, point)) {
|
||||
hideHint();
|
||||
}
|
||||
else if (type == ValueHintType.MOUSE_OVER_HINT && myRequest != null && !myRequest.isHintHidden() && myRequest.isInsideCurrentRange(editor, point)) {
|
||||
return;
|
||||
}
|
||||
|
||||
for (DebuggerSupport support : mySupports) {
|
||||
QuickEvaluateHandler handler = support.getQuickEvaluateHandler();
|
||||
|
||||
Reference in New Issue
Block a user