SharpDevelop Community

Get your problems solved!
Welcome to SharpDevelop Community Sign in | Join | Help
in Search

AvalonEdit - Event when Caret enters ReplaceableTextElement?

Last post 08-08-2017 1:53 PM by rsoltesz. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 07-28-2017 4:15 PM

    AvalonEdit - Event when Caret enters ReplaceableTextElement?

    Hello - I'm attempting to dynamically populate a CompletionWindow based on the current Caret position. I.e, if a user selects to insert a Snippet from a CompletionWindow, and that Snippet has one or more SnippetReplaceableTextElement, open a new CompletionWindow (with contextual items) when the Caret enters the SnippetReplaceableTextElement(s).

     

    Is this possible? What approach might I take to accomplish my intended behavior?

     

    Thanks.

  • 08-08-2017 1:53 PM In reply to

    Re: AvalonEdit - Event when Caret enters ReplaceableTextElement?

    Any ideas for this?

    At the moment, I'm thinking I'll have to make an event handler to catch the initial snippet insertion and additional handlers for any time Tab is pressed, in lieu of my previous idea of catching when the Caret entered a Replaceable element.

Page 1 of 1 (2 items)
Powered by Community Server (Commercial Edition), by Telligent Systems
Don't contact us via this (fleischfalle@alphasierrapapa.com) email address.