Hello,
We have wrote a custom language with your SyntaxEditor.
The "root" statements can be functions or member variables (similar to a c# class).
If a user types an if statement or a return statement outside a function, the parser stops parsing and the error "Parsing completed before reaching document end" appears.
Instead - I want the parser to continue to the next membe variable\function declaration, and I want to display an error about the misplaced return statement, for example: "Expected function declaration or member variable declaration".
How can I achieve that ?
Thanks,
Sharon