private void ContextCut(object sender, RoutedEventArgs e) { if (this.currentTabIndex >= 0) { this.tab[this.currentTabIndex].TextEditor.Cut(); } }