EControl Syntax Editor SDK
TAutoCompletePopup.OnBeforeComplete Property

Occurs before inserting auto-complete item in the editor's text.

property OnBeforeComplete: TBeforeAutoComplete;

Write OnBeforeComplete event handler to update auto-complete item before inserting. For example, you may use shortcuts as items, but inserted text is some (even multi-line, like code template) text.

Copyright (c) 2004-2011. All rights reserved.
What do you think about this topic? Send feedback!