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