private void OnGrepEditorLoaded(object sender, EditorLoadedArg arg) { if (arg.EditorTabContentViewModel != m_GreppedFileEditorViewModel) { return; } EventAggregator <EditorLoadedArg> .Instance.Event -= OnGrepEditorLoaded; ScrollCursorToLine(GreppedLineNo); }
private void OnEditorLoaded(object sender, EditorLoadedArg arg) { base.OnPropertyChanged(nameof(ShowScenarioIndex)); base.OnPropertyChanged(nameof(IsShowScenarioIndexEnabled)); base.OnPropertyChanged(nameof(ScenarioIndexIcon)); }