Choose newline character in Notepad++

时光总嘲笑我的痴心妄想 提交于 2019-11-26 10:20:43

问题


I notice that when I load a text file, Notepad++ will recognize and use whatever the newline character in that file is, \\n or \\r\\n.

Is there some option where I can select which to use in a new document? (I\'ve looked in help and googled, but can\'t find anything.)


回答1:


For a new document: Settings -> Preferences -> New Document/Default Directory -> New Document -> Format -> Windows/Mac/Unix

And for an already-open document: Edit -> EOL Conversion




回答2:


"Edit -> EOL Conversion". You can convert to Windows/Linux/Mac EOL there. The current format is displayed in the status bar.



来源:https://stackoverflow.com/questions/8195839/choose-newline-character-in-notepad

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!