Intellisense acception key

SyntaxEditor for WPF Forum

Posted 6 years ago by Miguel A.
Version: 18.1.0672
Avatar

Hi,

how can I change that intellisense suggestion only applies when user presses return or tab key. Currently it applies automatically when user types any key (i.e. such as space or '(' ) except escape.

Comments (2)

Answer - Posted 6 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi Miguel,

The CompletionSession.AllowedCharacters and CommitCharacters CharClass-based properties are what determine the behavior for typed text.  If the typed character is not in AllowedCharacters, the session will either commit or cancel based on if there is a full selection and if the character is in the CommitCharacters.  To sum up, you'd want to add space, etc. to AllowedCharacters.


Actipro Software Support

Posted 6 years ago by Miguel A.
Avatar

Thanks, that worked!

The latest build of this product (v24.1.2) was released 21 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.