Browse Source

fix unfolding for current type

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

4
ILSpy/MainWindow.xaml.cs

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

Loading…
Cancel
Save