void addMode(Mode m) { myModes[m.name] = m; }
public void SetChunkMode(Mode mode, bool ctrl) { SetChunkMode(WindowState.CurrentPosition, mode, ctrl); Montage.SetChanged(); }