void (@NotNull Editor newEditor, @NotNull LightweightHint newHint, int flags, @NotNull HintHint hintInfo) { // Ex: if popup re-shown by ToggleByWordDiffAction if (newHint.getComponent() instanceof LineStatusMarkerPopupPanel newPopupPanel) { if (newPopupPanel.getEditor().equals(newEditor)) { hint.hide(); } } }