madskristensen / PrettyPaste

Fixes the added blank lines when copying and pasting from IE
Other
32 stars 8 forks source link

Too much newlines eaten when pasting documentation comments #9

Closed paulomorgado closed 3 years ago

paulomorgado commented 7 years ago

Installed product versions

Description

Too much newlines eaten when pasting documentation comments

Steps to recreate

Paste documentation comments:

/// <summary>
/// docs
/// </summary>

before a declaration

public class C

Current behavior

The declaration becomes part of the comment

/// <summary>
/// docs
/// </summary>public class C

Expected behavior

The result should be

/// <summary>
/// docs
/// </summary>
public class C