CutCopyDragHTML loses new lines

SyntaxEditor for Windows Forms Forum

Posted 16 years ago by Jeff Pek - Autodesk, Inc.
Version: 4.0.0271
Platform: .NET 2.0
Environment: Windows XP (32-bit)
I've been working with the HTML Format clipboard content, as copied from a SyntaxEditor control. I've noticed that when the HTML that's clipped contains one or more new lines, e.g.,:


You get HTML that looks like this:

<span style="color: #000000;">foo

But ... when that HTML is presented (e.g., in OneNote), it all runs together:

foo bar

As per usual HTML formatting behavior.

I think you need to add <br/> tags in place of the new lines.


Comments (1)

Posted 16 years ago by Actipro Software Support - Cleveland, OH, USA
We've just added a PRE block around the code so this won't happen. This will be in the next maintenance release.

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.