Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

C# uses \n instead of \n\r or Environment.NewLine #91

Open
GoogleCodeExporter opened this issue Mar 21, 2016 · 0 comments
Open

C# uses \n instead of \n\r or Environment.NewLine #91

GoogleCodeExporter opened this issue Mar 21, 2016 · 0 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?

1. Use the C# code to create a List of Patches.
2. "Export" it using patch_toText to a text box.
3. Copy the text to notepad for example.
4. Reverse the process by copying the text back into a text box.
3. "Import" it using patch_fromText.
4. Apply patch.

What is the expected output? What do you see instead?

Patch should be correctly applied, but usually "Invalid patch mode" error is 
thrown.

What version of the product are you using? On what operating system?

Download 20121119, Win7 64bit, VS 2012, .Net 4.5.

Please provide any additional information below.

Attached is the C# file using Environment.NewLine.

Original issue reported on code.google.com by [email protected] on 18 Sep 2013 at 11:38

Attachments:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant