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