[Lazarus] SynEdit changes line ending

Hans-Peter Diettrich DrDiettrich1 at aol.com
Fri May 31 19:48:45 CEST 2013


Misha Padalka schrieb:

>> Synedit only supports one line ending type for the whole text, not per 
>> line.
> 
> I know that, but I assign whole text, not its part. So I think it should 
> save it's line ending style.

Dunno if this applies also to SynEdit:

Most edit controls break the Text into lines (TStringList), so that all 
line endings are lost. Line endings (of one type) are only added again 
when the Text property is read later, or stored in an file.

DoDi





More information about the Lazarus mailing list