Need to modify the MemberList text AS inserted into editor

SyntaxEditor for Windows Forms Forum

Posted 19 years ago by shark92651
Avatar
I have a somewhat expensive call that I want to use to format the text prior to it being inserted into the editor. Is there an event or other way I can do this rather than formatting the actual Text as I create the items. Ideally, I could use an event that will pass me the Text prior to insertion and I can just substitute a new value.

Comments (1)

Posted 19 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
There isn't a straightforward way to do that yet but I'll add it to the TODO list.

Here's a possible workaround though... The auto-complete code looks at the SelectedItem's pre- and post-text. Maybe in the IntelliPromptMemberListClosing event you add an item with the pre- and post-text you want and make that the SelectedItem there. That would probably give you the correct end result until we get something better implemented.


Actipro Software Support

The latest build of this product (v24.1.0) was released 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.