|
|
@ -29,6 +29,8 @@ namespace ICSharpCode.SharpDevelop.Debugging |
|
|
|
SetPosition(tecp.TextEditor.FileName, tecp.TextEditor.Document, markerStartLine, markerStartColumn, markerEndLine, markerEndColumn); |
|
|
|
SetPosition(tecp.TextEditor.FileName, tecp.TextEditor.Document, markerStartLine, markerStartColumn, markerEndLine, markerEndColumn); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
lock (syncObject) { |
|
|
|
lock (syncObject) { |
|
|
|
|
|
|
|
// get the decompiled view if exists
|
|
|
|
|
|
|
|
if (viewContent != null && viewContent.Control != null) { |
|
|
|
dynamic codeView = viewContent.Control; |
|
|
|
dynamic codeView = viewContent.Control; |
|
|
|
var document = codeView.TextEditor.Document as IDocument; |
|
|
|
var document = codeView.TextEditor.Document as IDocument; |
|
|
|
SetPosition(codeView.Adapter.FileName, document, markerStartLine, markerStartColumn, markerEndLine, markerEndColumn); |
|
|
|
SetPosition(codeView.Adapter.FileName, document, markerStartLine, markerStartColumn, markerEndLine, markerEndColumn); |
|
|
@ -39,6 +41,7 @@ namespace ICSharpCode.SharpDevelop.Debugging |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public static void SetPosition(FileName fileName, IDocument document, int markerStartLine, int markerStartColumn, int markerEndLine, int markerEndColumn) |
|
|
|
public static void SetPosition(FileName fileName, IDocument document, int markerStartLine, int markerStartColumn, int markerEndLine, int markerEndColumn) |
|
|
|
{ |
|
|
|
{ |
|
|
|