When using the C# language add-on's built-in intelliprompt, one thing we get is that a completion list is automatically triggered by specific key events, such as pressing a . character after an identifier.
Now, let's say I'm writing my own completion provider in my own syntax language. To trigger a completion session, the Actipro documentation suggests that I implement the syntax editor's DocumentTextChanged event and watch for specific characters being typed.
However, let's say I want to trigger a completion session using the same logic as the C# add-on. Is there any way I can leverage the C# add-on's logic for triggering completion sessions, instead of re-implementing this logic myself? Perhaps there's an attached behavior I can attach my syntax editor to, or some service I can register on my language?
Thanks,
-Craig
[Modified at 08/19/2011 01:49 PM]
Now, let's say I'm writing my own completion provider in my own syntax language. To trigger a completion session, the Actipro documentation suggests that I implement the syntax editor's DocumentTextChanged event and watch for specific characters being typed.
However, let's say I want to trigger a completion session using the same logic as the C# add-on. Is there any way I can leverage the C# add-on's logic for triggering completion sessions, instead of re-implementing this logic myself? Perhaps there's an attached behavior I can attach my syntax editor to, or some service I can register on my language?
Thanks,
-Craig
[Modified at 08/19/2011 01:49 PM]