void () { new TextDiffViewerUtil.EditorActionsPopup(createEditorPopupActions()).install(getEditors(), myPanel); new TextDiffViewerUtil.EditorFontSizeSynchronizer(getEditors()).install(this); getEditor(ThreeSide.LEFT).getScrollingModel().addVisibleAreaListener(myVisibleAreaListener); getEditor(ThreeSide.BASE).getScrollingModel().addVisibleAreaListener(myVisibleAreaListener); getEditor(ThreeSide.RIGHT).getScrollingModel().addVisibleAreaListener(myVisibleAreaListener); SyncScrollSupport.SyncScrollable scrollable1 = getSyncScrollable(Side.LEFT); SyncScrollSupport.SyncScrollable scrollable2 = getSyncScrollable(Side.RIGHT); if (scrollable1 != null && scrollable2 != null) { mySyncScrollSupport = new ThreesideSyncScrollSupport(getEditors(), scrollable1, scrollable2); myEditorSettingsAction.setSyncScrollSupport(mySyncScrollSupport); } }