HTML and line numbers

SyntaxEditor for Windows Forms Forum

Posted 15 years ago by Steve Dunn
Version: 4.0.0280
I've written a plug-in for Windows Live Writer that used to use the CodeHighlighter component. I'm switching it over to use the SyntaxEditor component as that has the GetTextAsHtml method.

The trouble is, there's a couple of features missing, such as LineNumberMarginVisible and WordWrap. These are now properties on the SyntaxEditor type, but the component that generates the HTML is the Document.

Is there a way to get this?



Comments (1)

Posted 15 years ago by Actipro Software Support - Cleveland, OH, USA
Hi Steve,

Sorry those aren't currently available in the SyntaxEditor export. If you wan those features, you'd probably have to ship with both components, which is ok since they use the same Shared/WinUICore. Then use SyntaxEditor for editing and CodeHighlighter for the actual export.

Actipro Software Support

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

Add Comment

Please log in to a validated account to post comments.