Changeset 12646 for trunk/sources/HeuristicLab.CodeEditor/3.4/LanguageFeatures/CodeCompletion/CSharp
- Timestamp:
- 07/07/15 14:26:44 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.CodeEditor/3.4/LanguageFeatures/CodeCompletion/CSharp/CSharpCodeCompletionStrategy.cs
r12012 r12646 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.