Actipro SyntaxEditor - Windows Forms .NET Control
Code Fragments
SyntaxEditor supports the editing of code fragments with full IntelliPrompt features when using
an advanced language that does semantic parsing using the semantic parser service.
Any language that uses the semantic parser service can use this feature.
Code fragment editing is useful in situations like where you want an end user to edit only
the contents of a specific method or property.
An example of code fragment editing using the .NET Languages Add-on... the top and bottom SyntaxEditors are simply displaying what is stored in the header/footer of the document, while the middle SyntaxEditor is what is being edited
Code fragment editing is accomplished by setting a header and footer text property on your document.
Neither the header nor footer are normally visible to the end user but they can be added to the
document during semantic parsing to provide context for the actual code being edited in the document.
|