#5920

Yutaka Emura
Keymaster

suli2921 wrote:
I want to save all open files in LF Only (UNIX) return method. here’s my code:

For Each doc In editor.Documents
doc.encoding = eeEncodingUTF8
doc.UnicodeSignature = False
doc.newline = ?
Next

what’s the value for LF Only (UNIX)?

You will need to use “Save Returns as LF only” command, so you will need to activate each document, and then use
editor.ExecuteCommandByID(4107);