public static SetDocument ( this editor, string content ) : void | ||
editor | this | |
content | string | |
return | void |
public static void SetDocument(this TextEditor editor, string content) {
try {
_isBusy = true;
editor.Document = new TextDocument(content);
// ProperUndoStrategy.Set(TextEditor.Document);
} finally {
_isBusy = false;
}
}