sakura/en/Set Line Feed

Last-modified: 2008-03-29 (土) 14:48:11

Set Line Feed

The line feed code input when 'Enter' is pushed is specified.

  • CRLF
    Windows/DOS and a general line feed code.
  • LF
    Unix/Linux and a general line feed code.
  • CR
    Old MacOS and a general line feed code.




  • Starting is CRLF.
  • When the file is opened, it is set to the line feed code of the first line of the file automatically.
  • The input line feed code maintains former line feed code.
  • It is never converted as long as it doesn't specify it by preservation giving the name automatically.
  • Please see the line feed code in detail.

[hatena] Hint: The menu of the switch comes out to right-click at the input line feed code position in the status bar. (sakura:1.4.3.7 or later)

Macro Syntax

  • Syntax
    ChgmodEOL( int1 :Integer );
    • int1 : Return Code
  • Record
    It records with the parameter of a specified line feed code.
  • Remarks
    Either of line feed codes the following can be specified.
    • 0 : No Change
    • 1 : CRLF(Windows)
    • 2 : LFCR
    • 3 : LF(UNIX)
    • 4 : CR(Mac)