private void ReloadTextArea() { var keywords = LanguageSupport.GetLanguageKeywords(sourceLanguage); if (keywords.Length == 2) { TextArea.SetKeywords(0, keywords[0]); TextArea.SetKeywords(1, keywords[1]); } TextArea.ReadOnly = false; TextArea.Text = debugContent[debugMode]; TextArea.ReadOnly = true; }
private void ClearTextArea() { var keywords = LanguageSupport.GetLanguageKeywords(_debugger.Language); if (keywords.Length == 2) { TextArea.SetKeywords(0, keywords[0]); TextArea.SetKeywords(1, keywords[1]); } TextArea.ReadOnly = false; TextArea.Text = _debugger.DebugContent[_debugger.Mode]; _debugger.Precompile = false; }