Ejemplo n.º 1
0
 public void Setup()
 {
     testSolution = Solution.CreateTemporary();
     testSolution.AddNewScript("Assignment09.ds");
     testSolution.AddNewScript("Assignment19.ds");
     testSolution.AddNewScript("Assignment13.ds");
     TextEditorCore.CreateTemporary();
 }
Ejemplo n.º 2
0
 // For use by Solution.
 internal SolutionData(Solution solution)
 {
     scripts = new List<ScriptItem>();
     breakpoints = new List<BreakpointItem>();
     watchExpressions = new List<ExpressionItem>();
     inlineMessages = new List<InlineMessageItem>();
 }
Ejemplo n.º 3
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();
        }