Wivona 0 Posted June 5 When I try to paste in a Tmemo lines selected from another world, lines endings (LF) are not converted to CRLF. How to work around? Share this post Link to post
Lars Fosdal 1792 Posted June 5 So, you copy text from outside the Delphi app, and when you paste it into your TMemo, it is LF and not CRLF? What is your TMemo.Lines.LineBreak set to? An alternative would be to intercept the paste and use https://docwiki.embarcadero.com/Libraries/Alexandria/en/System.SysUtils.AdjustLineBreaks Share this post Link to post