void (PropertyChangeEvent evt) { if (myDuringUpdate || !isEnabled()) return; if (!(evt.getSource() instanceof FileEditor editor)) return; if (!editor.getComponent().isShowing()) return; Dimension size = editor.getComponent().getSize(); if (size.width <= 0 || size.height <= 0) return; int holderIndex = ContainerUtil.indexOf(myHolders, (Condition<BinaryEditorHolder>)holder -> editor.equals(holder.getEditor())); if (holderIndex != -1) myMasterIndex = holderIndex; syncStateFrom(editor); }