HTML and line numbers

SyntaxEditor for Windows Forms Forum

Posted 10 years ago by Steve Dunn
Version: 4.0.0280
Avatar
Hi,
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?

Cheers,

Steve

Comments (1)

Posted 10 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
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 (v2018.1 build 0341) was released 3 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.