private void buttonSync_Click(object sender, RoutedEventArgs e) { controller.SyncDocument(richTextBox.Document); }