Links
EControl Syntax Editor SDK
TSyntMemoStrings.TextFormat Property

Specifies type of the line break.

property TextFormat: TTextFormat;

TextFormat is initialized after loading text from the file (stream). Write TextFormat to save text in particular text format. 

 

Codings tcAnsi_CR_NL, tcAnsi_CR, tcAnsi_NL are Ansi but they change line feeds during saving text to the stream:

Format 
Line feed string 
Platform 
tfCR_NL 
#13#10 
Windows 
tfCR 
#13 
Unix 
tfNL 
#10 
Mac 

The default value is tfDefault, that is a default text format for the current operating system.

Copyright (c) 2004-2011. All rights reserved.
What do you think about this topic? Send feedback!