Browse Source

Fixed SD2-846:Saving XSLT output to a file throws an invalid operation exception

git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1503 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
shortcuts
Mike Krüger 19 years ago
parent
commit
4cfab23d13
  1. 4
      src/AddIns/DisplayBindings/XmlEditor/Project/Src/XmlView.cs

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

@ -254,12 +254,12 @@ namespace ICSharpCode.XmlEditor
// ParserUpdateThread uses the text property via IEditable, I had an exception // ParserUpdateThread uses the text property via IEditable, I had an exception
// because multiple threads were accessing the GapBufferStrategy at the same time. // because multiple threads were accessing the GapBufferStrategy at the same time.
string GetText() internal string GetText()
{ {
return xmlEditor.Document.TextContent; return xmlEditor.Document.TextContent;
} }
void SetText(string value) internal void SetText(string value)
{ {
xmlEditor.Document.TextContent = value; xmlEditor.Document.TextContent = value;
} }

Loading…
Cancel
Save