
Hi guys,
I have a further question.
Up to now I use this code to write my parsed document in another file.Unfortunately that's a string and I can not detect each single token, but that's what I want.
I need something like this:Here I have all the tokens listed in the correct order. But instead of
"[Simple Token: Identifier (0, 11)]" I'd like to have the correct names like it appears in the document. For example: "[Simple Token: FunctionName (0, 11)]".
Is there a way to do this?
Bye
I have a further question.
Up to now I use this code to write my parsed document in another file.
writer.WriteLine(this.editor.Document.Text);
I need something like this:
ActiproSoftware.SyntaxEditor.TokenCollection tokenCollection = this.editor.Document.Tokens;
"[Simple Token: Identifier (0, 11)]" I'd like to have the correct names like it appears in the document. For example: "[Simple Token: FunctionName (0, 11)]".
Is there a way to do this?
Bye