Skip to content

DefaultEndOfLine ​

原文链接

https://microsoft.github.io/monaco-editor/docs.html#enums/editor.DefaultEndOfLine.html

实例化模型时要使用的默认行末尾。

CRLF ​

  • 值:2
  • 描述:使用回车符和换行符(\r\n)作为行尾字符。

LF ​

  • 值:1
  • 描述:使用换行符(\n)作为行尾字符。

Released under the MIT License.