ADD OWN LANGUAGE TO CODEEDITOR WINFORMS

Hi,
Do you have any demo / documentation about how to implement own language with highlighting, completion and nested outlining ?
Hi Radek,
Implementing own parser that will support outlining and code completion is not trivial task, it might require full-text parsing in order to determine all information needed for outlining and provide context for code completion.
The documentation does not cover these topics, however we're happy to send source code of couple of our parsers that do this job.
regards,
Andrew
I'd like to find out which syntax state the current position is at.
IStringItem line = edit.Lines.GetItem(edit1.Position.Y);
StringItemInfo info = line.TextData[edit.Position.X];
info.Data seems to be syntax related, but I can't figure out how that relates to my syntax states
edit.Source.Lexer.Scheme.States[info.Data]
does not return the correct state.
How can I find the scheme state at position X/Y ?
Oops - previous message is not relevant here. Reposted as new question