示例#1
0
        // ~~~~~~~~~~~ Hook source editor window ~~~~~~~~~~~

        public void OnEditorInputChanged(string value)
        {
            Panel.EditorHighlightText.text = Lexer.BuildHighlightedString(value, 0, value.Length - 1, 0,
                                                                          Panel.EditorInput.Component.caretPosition, out _);
        }