public ModEditorController(ITextEditorView view, ParadoxTitle game, string modDirectory)
            : base(view)
        {
            this.game         = game;
            this.modDirectory = modDirectory.Substring(0, modDirectory.LastIndexOf("\\") + 1);

            gameFilePairs = new Dictionary <ParadoxTitle, Dictionary <string, List <string> > >();
            foreach (ParadoxTitle title in Enum.GetValues(typeof(ParadoxTitle)))
            {
                gameFilePairs.Add(title, new Dictionary <string, List <string> >());
            }

            LoadScriptPairs();
        }
 public TextEditorController(ITextEditorView view)
 {
     view.SetController(this);
     this.view = view;
     files     = new Dictionary <string, OpenFile>();
 }