private void SubscriptCanExecute(object sender, CanExecuteRoutedEventArgs e)
 {
     e.CanExecute = (mode == EditMode.Visual && htmldoc != null && htmldoc.CanSubscript());
 }