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