Add dealing with newlines for editor to 5.1-to-6.0

王权利请求将github/fork/bbodenmiller/patch-5合并到master

合并请求报告