Exemple #1
0
        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;
        }
Exemple #2
0
        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;
        }