static void unindentButton_Clicked(object sender, EventArgs e) { host.RootDocument.DoCommand (EditorCommand.Outdent); }