Indicator Margin

SyntaxEditor for WPF Forum

Posted 14 years ago by Mick George - Senior Software Engineer, CNC Software, LLC
Version: 10.1.0523
Avatar
From your help file:

The indicator margin, implemented by the EditorIndicatorMargin class, is used to display glyphs for indicators. It appears in the scrollable left placement.

This feature is not yet used but will be used upon the completion of indicator features that will be added in the future to SyntaxEditor for WPF.


Does this mean that I am unable to implement bookmarks as an example of glyph display?

Comments (5)

Posted 14 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Mick,

We don't have glyph support just yet until we work out the object model for that feature. However our margin model is completely extensible so you could easily add your own custom margin that displayed glyphs in it until we get this feature complete. Our Sample Browser shows how to create custom margins.


Actipro Software Support

Posted 13 years ago by Mick George - Senior Software Engineer, CNC Software, LLC
Avatar
Hi, I was wondering if there is any update for when glyph support will be added to the indicator margin?
Posted 13 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Mick,

Sorry I don't have any date estimates at this time for you. Right now getting the .NET Languages Add-on done and out is our top SyntaxEditor priority since it's our most requested item by far. Indicator margin is one of the feature areas slated for work following the completion of the add-on, but a couple other feature areas like single line mode and parameter info, etc. might get done before it.

If the indicator margin is something you need immediately you can always contract us to implement it for you. When customers do that, we make the contracted feature the top new-development priority.


Actipro Software Support

Posted 13 years ago by Mick George - Senior Software Engineer, CNC Software, LLC
Avatar
Thanks for the update.

I am in the process of adding a "break points" margin to our application. I have looked at your three included custom margin examples but they are using a design time template approach where as I we need to create our margins at run-time as needed. Do you have any examples of adding margins at run-time or could some suggestions?

Thanks.
Posted 13 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Mick,

I believe that by altering the SyntaxEditor.ViewMarginFactories, it will rebuild the margins.


Actipro Software Support

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

Add Comment

Please log in to a validated account to post comments.