コード例 #1
0
 @Override
 public void removeEditorMouseMotionListener(@NotNull final EditorMouseMotionListener listener) {
   EditorMouseMotionListener wrapper = myEditorMouseMotionListeners.removeWrapper(listener);
   if (wrapper != null) {
     myDelegate.removeEditorMouseMotionListener(wrapper);
   }
 }
コード例 #2
0
 @Override
 public void removeEditorMouseListener(@NotNull final EditorMouseListener listener) {
   EditorMouseListener wrapper = myEditorMouseListeners.removeWrapper(listener);
   // HintManager might have an old editor instance
   if (wrapper != null) {
     myDelegate.removeEditorMouseListener(wrapper);
   }
 }