Beispiel #1
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);
        }
 public void LoadFile(string fileName)
 {
     this.file = new SnippetFile(fileName);
     adapter.LoadFile(fileName);
 }