Can I embed a user control within a syntax editor's text?

SyntaxEditor for WPF Forum

Posted 12 years ago by Craig - Varigence, Inc.
Version: 12.1.0562

Is it possible to embed user controls within the syntax editor? Perhaps at a particular line number or between lines? If not, is there a way to distribute a document across multiple syntax editors so that I can place my custom user controls between the editors themselves?



Comments (1)

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

Hi Craig,

Yes you can embed controls in via adornments (one of the QuickStarts shows a sample).  However we don't have a mechanism to render adornments between lines at this time.  You can only render behind the editing surface or "intra-text" (between text characters).

The SyntaxEditor objects will edit whatever document text you give them, but cannot edit different specific portions of the same document within multiple SyntaxEditor instances.

You'd probably want to split up the real document's parts into separate SyntaxEditor documents to do your second idea.

Actipro Software Support

The latest build of this product (v24.1.1) 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.