Browse Source

The XML Editor now returns the correct value for the IViewContent's IsReadOnly property. A read-only xml file will now be indicated by a + character after the filename when opened inside SharpDevelop.

git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.1@2404 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
shortcuts
Matt Ward 19 years ago
parent
commit
9603a7722e
  1. 6
      src/AddIns/DisplayBindings/XmlEditor/Project/Src/XmlView.cs

6
src/AddIns/DisplayBindings/XmlEditor/Project/Src/XmlView.cs

@ -139,6 +139,12 @@ namespace ICSharpCode.XmlEditor @@ -139,6 +139,12 @@ namespace ICSharpCode.XmlEditor
}
}
public override bool IsReadOnly {
get {
return xmlEditor.IsReadOnly;
}
}
/// <summary>
/// Loads the string content into the view.
/// </summary>

Loading…
Cancel
Save