public override void ExecuteCommand(Command cmd)
{
if (disabledCommands > 0)
return;
var fctb = TextSource.CurrentTB;
if (fctb.AddedCarets.Count != 0)
{
//multirange ?
if (cmd.ts.CurrentTB.Selection.ColumnSelectionMode)
return;//we do not suppport column selection mode with multiselect mode
//make wrapper
if (cmd is UndoableCommand)
cmd = new MultiSelectionCommand((UndoableCommand)cmd);
}
base.ExecuteCommand(cmd);
}