Пример #1
0
		protected ScriptContent(IThemeManager themeManager, IReplEditorCreator replEditorCreator, ReplEditorOptions replOpts, IServiceLocator serviceLocator) {
			this.replEditorUI = replEditorCreator.Create(replOpts);
			this.scriptControl = new ScriptControl();
			this.scriptControl.SetTextEditorObject(this.replEditorUI.UIObject);
			this.scriptControlVM = CreateScriptControlVM(this.replEditorUI, serviceLocator);
			this.scriptControlVM.OnCommandExecuted += ScriptControlVM_OnCommandExecuted;
			this.replEditorUI.Tag = this;
			this.scriptControl.DataContext = this.scriptControlVM;
			themeManager.ThemeChanged += ThemeManager_ThemeChanged;
		}
Пример #2
0
 protected ScriptContent(IThemeManager themeManager, IReplEditorCreator replEditorCreator, ReplEditorOptions replOpts, IServiceLocator serviceLocator)
 {
     this.replEditorUI  = replEditorCreator.Create(replOpts);
     this.scriptControl = new ScriptControl();
     this.scriptControl.SetTextEditorObject(this.replEditorUI.UIObject);
     this.scriptControlVM = CreateScriptControlVM(this.replEditorUI, serviceLocator);
     this.scriptControlVM.OnCommandExecuted += ScriptControlVM_OnCommandExecuted;
     this.replEditorUI.Tag          = this;
     this.scriptControl.DataContext = this.scriptControlVM;
     themeManager.ThemeChanged     += ThemeManager_ThemeChanged;
 }
Пример #3
0
 CSharpContent(IThemeManager themeManager, IReplEditorCreator replEditorCreator, IServiceLocator serviceLocator)
     : base(themeManager, replEditorCreator, CreateReplEditorOptions(), serviceLocator)
 {
 }
Пример #4
0
		CSharpContent(IThemeManager themeManager, IReplEditorCreator replEditorCreator, IServiceLocator serviceLocator)
			: base(themeManager, replEditorCreator, CreateReplEditorOptions(), serviceLocator) {
		}