Browse Source

Fixed a problem where clicking an item in the Errors window would not show the source code if the file was being displayed in the forms designer.

git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3594 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
shortcuts
Matt Ward 17 years ago
parent
commit
41b1c801ca
  1. 1
      src/Main/Base/Project/Src/Services/File/FileService.cs

1
src/Main/Base/Project/Src/Services/File/FileService.cs

@ -474,6 +474,7 @@ namespace ICSharpCode.SharpDevelop @@ -474,6 +474,7 @@ namespace ICSharpCode.SharpDevelop
IViewContent content = OpenFile(fileName);
if (content is IPositionable) {
// TODO: enable jumping to a particular view
content.WorkbenchWindow.ActiveViewContent = content;
((IPositionable)content).JumpTo(Math.Max(0, line), Math.Max(0, column));
}

Loading…
Cancel
Save