|
|
|
@ -31,8 +31,10 @@ using System.Windows.Data;
@@ -31,8 +31,10 @@ using System.Windows.Data;
|
|
|
|
|
using System.Windows.Input; |
|
|
|
|
using System.Xml; |
|
|
|
|
using System.Xml.Linq; |
|
|
|
|
|
|
|
|
|
using ICSharpCode.AvalonEdit.Rendering; |
|
|
|
|
using ICSharpCode.Decompiler; |
|
|
|
|
using ICSharpCode.ILSpy.Bookmarks; |
|
|
|
|
using ICSharpCode.ILSpy.TextView; |
|
|
|
|
|
|
|
|
|
namespace ICSharpCode.ILSpy |
|
|
|
@ -94,6 +96,9 @@ namespace ICSharpCode.ILSpy
@@ -94,6 +96,9 @@ namespace ICSharpCode.ILSpy
|
|
|
|
|
output.AddVisualLineElementGenerator(new MyLinkElementGenerator("MIT License", "resource:license.txt")); |
|
|
|
|
output.AddVisualLineElementGenerator(new MyLinkElementGenerator("LGPL", "resource:LGPL.txt")); |
|
|
|
|
textView.ShowText(output); |
|
|
|
|
|
|
|
|
|
//reset icon bar
|
|
|
|
|
textView.manager.Bookmarks.Clear(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
sealed class MyLinkElementGenerator : LinkElementGenerator |
|
|
|
|