Code Snippet Template Session

SyntaxEditor for WPF Forum

Posted 10 months ago by Daisuke Nakada
Version: 18.1.0673
Avatar

Hi,

I have a question about the template session of the IntelliPrompt Code Snippet.

 

When I create a template session programmatically, the text on the left of the caret is deleted.

For example, if the caret is at * position and a snippet ("TEST") template session is created,

aaa *

the result is like this:

TEST

 

If I create a template session using the snippet shortcut (pressing TAB after a code snippet shortcut), the text on the left of the caret is not deleted (and it is fine to me).

aaa TEST

 

I'd appreciate it if you would tell me how to create template sessions without deleting the text before the caret.

Thank you.

Comments (2)

Answer - Posted 10 months ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hello,

Thanks for letting us know about this.  It appears to be a bug in our session open logic that is adjusting the selection.  We've fixed it for the next build but there probably isn't a way to work around it until then.


Actipro Software Support

Posted 10 months ago by Daisuke Nakada
Avatar

OK, I understand.

Thank you for answering.

The latest build of this product (v2019.1 build 0683) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.