Browse Source

fix unfolding for current type

pull/191/merge
Eusebiu Marcu 15 years ago
parent
commit
af7b86281b
  1. 6
      ILSpy/MainWindow.xaml.cs

6
ILSpy/MainWindow.xaml.cs

@ -400,10 +400,10 @@ namespace ICSharpCode.ILSpy @@ -400,10 +400,10 @@ namespace ICSharpCode.ILSpy
// jump to type & expand folding
if (CurrentLineBookmark.Instance != null) {
if (CurrentLineBookmark.Instance.Type != DebuggedData.CurrentType) {
if (CurrentLineBookmark.Instance.Type != DebuggedData.CurrentType)
JumpToReference(CurrentLineBookmark.Instance.Type);
decompilerTextView.UnfoldAndScroll(CurrentLineBookmark.Instance.LineNumber);
}
decompilerTextView.UnfoldAndScroll(CurrentLineBookmark.Instance.LineNumber);
}
}

Loading…
Cancel
Save