/// <summary> /// Prepares the string to compile and sends it to the scanner. /// </summary> public void SendToCompile() { textOnConsole.Text = ""; string errorMessage = CompilingHelper.SendToCompilePlainCode(programText.Text); textOnConsole.Text = errorMessage; }
/// <summary> /// Prepares the string to compile and sends it to the scanner. /// </summary> public void SendToCompile() { textOnConsole.Text = ""; string errorMessage = CompilingHelper.SendToCompile(stringToCompile, blocksOnView); textOnConsole.Text = errorMessage; }
/// <summary> /// Removes the text from compiling string. /// </summary> /// <param name="index">Index from where we're going to remove the text.</param> public void RemoveTextFromCompilingString(int index) { stringToCompile = CompilingHelper.RemoveTextFromCompilingString( stringToCompile, blocksOnView, index ); }
/// <summary> /// Adds the text to compiling string. /// </summary> /// <param name="textToAdd">Text to add.</param> public void AddTextToCompilingString(string textToAdd) { stringToCompile = CompilingHelper.AddTextToCompilingString( stringToCompile, textToAdd, blocksOnView, lastSelected ); }