Changeset 12689 for branches/HiveStatistics/sources/HeuristicLab.CodeEditor/3.4/LanguageFeatures/CodeCompletion/CSharp/CSharpCodeCompletionStrategy.cs
- Timestamp:
- 07/08/15 15:32:12 (9 years ago)
- Location:
- branches/HiveStatistics/sources
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HiveStatistics/sources
-
branches/HiveStatistics/sources/HeuristicLab.CodeEditor/3.4/LanguageFeatures/CodeCompletion/CSharp/CSharpCodeCompletionStrategy.cs
r12012 r12689 20 20 #endregion 21 21 22 using System;23 22 using System.Collections.Generic; 24 23 using System.Linq; … … 26 25 using ICSharpCode.NRefactory.CSharp; 27 26 using ICSharpCode.NRefactory.CSharp.Completion; 28 using ICSharpCode.NRefactory.Editor;29 27 using ICSharpCode.NRefactory.TypeSystem; 30 28 … … 112 110 113 111 protected override void DoParseStep() { 114 var document = (IDocument)codeEditor.Invoke( 115 (Func<IDocument>)(() => { 116 var doc = codeEditor.TextEditor.Document; 117 return new ReadOnlyDocument(doc, doc.FileName); 118 }) 119 ); 120 112 if (document == null) return; 121 113 var unresolvedFile = CSharpParsingHelpers.CreateCSharpUnresolvedFile(document); 122 114 projectContent = projectContent.AddOrUpdateFiles(unresolvedFile);
Note: See TracChangeset
for help on using the changeset viewer.