
Hi,
I am using the SyntaxEditor in my app. Currently, we use it like this:JScript.langdef is your provided JavaScript language definition.
We would like to add red squiggles for syntax errors, etc. Not even sure where to begin.
I found the language tool and opened up the jscript.langdef. I noticed I can generate 6 files through the tool.
JscriptSyntaxLanguage.cs, JScriptlexer.cs, etc.
I assume we need to use these .cs files and can't just use the .langdef?
None of the samples give us an indication of where to go with this.
I am using the SyntaxEditor in my app. Currently, we use it like this:
scriptEditor.Document.Language = LoadLanguageDefinitionFromResourceStream("JScript.langdef");
We would like to add red squiggles for syntax errors, etc. Not even sure where to begin.
I found the language tool and opened up the jscript.langdef. I noticed I can generate 6 files through the tool.
JscriptSyntaxLanguage.cs, JScriptlexer.cs, etc.
I assume we need to use these .cs files and can't just use the .langdef?
None of the samples give us an indication of where to go with this.