Search code examples
lazarus

keep text formatting when copying and pasting in/from memo


Basically, i paste my text in a memo, push some buttons and it's edited. That's what it should do. But when i copy my end-text out of it and paste it in a website, the text looses all of its line breaks. I tried adding them but that does not help, i tried richmemo, richedit. Nothing works.


Solution

  • Solved the problem. It was wordwrap. Had to divide the memo lines in strings to achieve it but it came out just fine.