Beispiel #1
0
 public SmartIndentTest(IServiceContainer services, EditorHostMethodFixture editorHost)
 {
     _coreShell       = services.GetService <ICoreShell>();
     _sessionProvider = UIThreadHelper.Instance.Invoke(() => _coreShell.GetService <IRInteractiveWorkflowProvider>().GetOrCreate()).RSessions;
     _editorHost      = editorHost;
     _settings        = _coreShell.GetService <IWritableREditorSettings>();
 }
Beispiel #2
0
 public REditorOptionsDialog()
 {
     SettingsRegistryPath = @"UserSettings\R_Tools";
     _settings            = VsAppShell.Current.GetService <IWritableREditorSettings>();
 }
Beispiel #3
0
 public ComputeCurrentParameterTest(IServiceContainer services) :
     base(services)
 {
     _settings = services.GetService <IWritableREditorSettings>();
 }
Beispiel #4
0
 public IntellisenseTest(IServiceContainer services, EditorHostMethodFixture editorHost) : base(services)
 {
     _editorHost = editorHost;
     _settings   = services.GetService <IWritableREditorSettings>();
 }
Beispiel #5
0
 public RProvisionalTextTest(IServiceContainer services, EditorHostMethodFixture editorHost)
 {
     _services   = services;
     _editorHost = editorHost;
     _settings   = _services.GetService <IWritableREditorSettings>();
 }