void (@NotNull DiffRequest request, @NotNull DiffContext context) { myDuringUpdate = false; if (!isEnabled()) return; MyState state = context.getUserData(TRANSFERABLE_FILE_EDITOR_STATE); if (state == null) return; int newMasterIndex = state.getMasterIndex(); if (newMasterIndex < myHolders.size()) myMasterIndex = newMasterIndex; try { myDuringUpdate = true; for (BinaryEditorHolder holder : myHolders) { state.restoreContextData(holder.getEditor()); } syncStatesNow(); } finally { myDuringUpdate = false; } }