private void CommandPaste(object sender, ExecutedRoutedEventArgs e) { if (this.currentTabIndex >= 0) { this.tab[this.currentTabIndex].TextEditor.Paste(); } }