
Hello,
We are using you syntax editor and we encountered the following problem :
We created a class that implements IEditorDocumentTextChanged.
In the NotifyDocumentTextChanged, we open a completion session if the last tokens are assignment+whitespace or equality+whitespace.
Sometimes, when opening a completion session after typing == and whitespace, we get the session that is expected after typing = and whitespace.
In the CompletionProvider.RequestSession function the View.CurrentSapshot.Text contains ==, but the View.CurrentSapshot.Document.ParseData.Ast is the ast I expext when assignment+whitespace are typed.
As I said it does not happen always - so parsing the same text gives different ASTs...
Do you have any idea what can be the cause of this problem ?
Thanks,
Eyal