예제 #1
0
 public void Setup()
 {
     testSolution = Solution.CreateTemporary();
     testSolution.AddNewScript("Assignment09.ds");
     testSolution.AddNewScript("Assignment19.ds");
     testSolution.AddNewScript("Assignment13.ds");
     TextEditorCore.CreateTemporary();
 }
예제 #2
0
        public void Setup()
        {
            string fileContent =
                "hello\n" +
                "\n" +
                "\t\tcruel\n" +
                "\tworld";

            testSolution = Solution.CreateTemporary();
            testSolution.AddNewScript(fileContent);
            testSolution.ActivateScript(0);

            textCore = TextEditorCore.CreateTemporary();
            textCore.ChangeScript(0);
            textCore.ParseScriptImmediate();
        }