Beispiel #1
0
        private void LoadHighlighting()
        {
            try
            {
                if (!_highlightingProviderLoaded)
                {
                    AppSyntaxModeProvider app = new AppSyntaxModeProvider();

                    // Attach to the text editor.
                    HighlightingManager.Manager.AddSyntaxModeFileProvider(
                        new AppSyntaxModeProvider());
                    _highlightingProviderLoaded = true;
                }
                textResultCode.SetHighlighting("ABAP");
            }
            catch (Exception ee)
            {
                MessageBox.Show(ee.Message);
            }
        }
        private void LoadHighlighting()
        {
            try
            {
                if (!_highlightingProviderLoaded)
                {
                    AppSyntaxModeProvider app = new AppSyntaxModeProvider();

                    // Attach to the text editor.
                    HighlightingManager.Manager.AddSyntaxModeFileProvider(
                        new AppSyntaxModeProvider());
                    _highlightingProviderLoaded = true;
                }
                textResultCode.SetHighlighting("ABAP");
            }
            catch (Exception ee)
            {

                MessageBox.Show(ee.Message);
            }
        }