Permalink
Browse files

add infotip to DecompiledViewContent

  • Loading branch information...
1 parent 73442ef commit e9913b7b51383d24ead2db8bfb49cb47d4a2bc8e @eusebiu eusebiu committed Jul 23, 2011
Showing with 3 additions and 2 deletions.
  1. +3 −2 src/AddIns/DisplayBindings/ILSpyAddIn/ViewContent/DecompiledViewContent.cs
@@ -27,6 +27,7 @@ public class DecompiledViewContent : AbstractViewContentWithoutFile
{
readonly string assemblyFile;
readonly string fullTypeName;
+ readonly string tempFileName;
/// <summary>
/// Entity to jump to once decompilation has finished.
@@ -48,6 +49,8 @@ public DecompiledViewContent(string assemblyFile, string fullTypeName, string en
string shortTypeName = fullTypeName.Substring(fullTypeName.LastIndexOf('.') + 1);
this.TitleName = "[" + shortTypeName + "]";
+ tempFileName = string.Format("decompiled/{0}.cs", fullTypeName);
+ this.InfoTip = tempFileName;
Thread thread = new Thread(DecompilationThread);
thread.Name = "Decompiler (" + shortTypeName + ")";
@@ -205,8 +208,6 @@ void OnDecompilationFinished(StringWriter output)
#region Update UI
void UpdateIconMargin(string text)
{
- string tempFileName = string.Format("decompiled/{0}.cs", fullTypeName);
-
codeView.IconBarManager.UpdateClassMemberBookmarks(ParserService.ParseFile(tempFileName, new StringTextBuffer(text)));
// load bookmarks

0 comments on commit e9913b7

Please sign in to comment.