Bug #83674 Copying from MySQL Workbench to Notepad doesn't include carriage return
Submitted: 3 Nov 2016 14:23 Modified: 4 Nov 2016 8:39
Reporter: Thomas M. Bradshaw Email Updates:
Status: Won't fix Impact on me:
None 
Category:MySQL Workbench: SQL Editor Severity:S3 (Non-critical)
Version:6.3.8 (build 1228) OS:Windows (10 Pro, v1607 build 14393.351)
Assigned to: CPU Architecture:Any

[3 Nov 2016 14:23] Thomas M. Bradshaw
Description:
Notepad only recognizes new lines if they have both the CR and LF, and MySQL Workbench appears to only use LF.

How to repeat:
Copy multi-line text from the SQL Editor in MySQL Workbench to Notepad.

Suggested fix:
As it's unlikely Microsoft will be changing this, either use the standard CR+LF for the Windows version of MySQL Workbench, or include a setting to let the end-user decide which to use.
[3 Nov 2016 18:22] MySQL Verification Team
Thank you for the bug report. Please check the below older bug issue regarding text editor of GUI client editor. 

https://bugs.mysql.com/bug.php?id=31659

https://bugs.mysql.com/bug.php?id=70147
[4 Nov 2016 8:39] Mike Lischke
Notepad is the only editor (out of virtually a million that exist) which cannot cope with LF only line breaks. There are so many free and good editors (e.g. Notepad++). Why don't you use one of them and do yourself a favour?

Implementing a feature just for a single tool outside of the actual app is a waste of resources.