I have a syntax editor working and can see it automatically parsing on code changes, but I also need a way to manually (and synchronously) parse text, which was not entered through a syntax editor.
I’m guessing I should be able to build my own IParseRequest and pass it to my parsers version of “IParseData Parse(IParseRequest request)” but I am unclear what concrete type to use and how I should properly construct it.
Can someone suggest some code for this?
I’m guessing I should be able to build my own IParseRequest and pass it to my parsers version of “IParseData Parse(IParseRequest request)” but I am unclear what concrete type to use and how I should properly construct it.
Can someone suggest some code for this?