示例#1
0
        private void OnGrepEditorLoaded(object sender, EditorLoadedArg arg)
        {
            if (arg.EditorTabContentViewModel != m_GreppedFileEditorViewModel)
            {
                return;
            }

            EventAggregator <EditorLoadedArg> .Instance.Event -= OnGrepEditorLoaded;
            ScrollCursorToLine(GreppedLineNo);
        }
示例#2
0
 private void OnEditorLoaded(object sender, EditorLoadedArg arg)
 {
     base.OnPropertyChanged(nameof(ShowScenarioIndex));
     base.OnPropertyChanged(nameof(IsShowScenarioIndexEnabled));
     base.OnPropertyChanged(nameof(ScenarioIndexIcon));
 }