コード例 #1
0
 public MainViewContent(string fileName, SharpSnippetCompilerControl snippetControl, IWorkbenchWindow workbenchWindow)
 {
     file = new SnippetFile(fileName);
     this.snippetControl  = snippetControl;
     this.textEditor      = snippetControl.TextEditor;
     this.workbenchWindow = workbenchWindow;
 }
コード例 #2
0
		public MainViewContent(string fileName, SharpSnippetCompilerControl snippetControl, IWorkbenchWindow workbenchWindow)
		{
			file = new SnippetFile(fileName);
			this.snippetControl = snippetControl;
			this.textEditor = snippetControl.TextEditor;
			this.workbenchWindow = workbenchWindow;
		}
コード例 #3
0
        public void LoadFile(string fileName)
        {
            file = new SnippetFile(fileName);

            if (completionWindow != null)
            {
                completionWindow.Close();
            }
            if (insightWindow != null)
            {
                insightWindow.Close();
            }

            textEditor.Load(fileName);
            textEditor.Document.FileName = fileName;

            adapter.LoadFile(fileName);
        }
コード例 #4
0
		public void LoadFile(string fileName)
		{
			this.file = new SnippetFile(fileName);
			adapter.LoadFile(fileName);
		}
コード例 #5
0
 public void LoadFile(string fileName)
 {
     this.file = new SnippetFile(fileName);
     adapter.LoadFile(fileName);
 }
コード例 #6
0
        public void LoadFile(string fileName)
        {
            file = new SnippetFile(fileName);

            if (completionWindow != null)
                completionWindow.Close();
            if (insightWindow != null)
                insightWindow.Close();

            textEditor.Load(fileName);
            textEditor.Document.FileName = fileName;

            adapter.LoadFile(fileName);
        }