On 27/08/2013 10:30, Michael Schnell wrote:
For a rather simple program we use TMemeo as an editor for information
that is displayed and stored in an HTML file.
So we extract the appropriate text lines from the file, have the user
edit it in a TMemo and finally re-insert it in the HTML file.
We don't need any complex formatting, just text that is organized as
multiple paragraphs.
Now a problem is, that Memo.Lines outputs any text line as a single
paragraph and thus it its close to impossible to keep the correct
paragraph structure during the process (without forcing the user to do
special stuff such as using blank lines a paragraph indicators).
Could SynEdit help with this problem ?
SynEdit keeps lines a they are (unless of course you press enter).
But it has no word wrap. So long lines are just that: long.
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus