<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">On 31/12/2020 18:11, James Richters via
fpc-pascal wrote:<br>
</div>
<blockquote type="cite"
cite="mid:019901d6df97$fb97e5a0$f2c7b0e0$@productionautomation.net">
<pre class="moz-quote-pre" wrap="">Thanks for the info on SynEdit. Where can I find the synedit source related to the clipboard?
I think the link you indtended ater 'See the code at.' Didn't come though, can you pleaese send it again?
</pre>
</blockquote>
<br>
Sorry, I assumed SynEdit would be recognized as part of Lazarus (yes
its the fpc list, but the name may still be known). So I simply gave
a file location in the Lazarus source.<br>
<br>
It can be found here:
<a class="moz-txt-link-freetext" href="https://github.com/User4martin/lazarus/blob/master/components/synedit/syneditmiscclasses.pp#L1674">https://github.com/User4martin/lazarus/blob/master/components/synedit/syneditmiscclasses.pp#L1674</a><br>
<br>
Some of the code is specific to SynEdit (E.g. information on
code-folding).<br>
<br>
But <span class="pl-en">ReadFromClipboard
<a class="moz-txt-link-freetext" href="https://github.com/User4martin/lazarus/blob/master/components/synedit/syneditmiscclasses.pp#L1699">https://github.com/User4martin/lazarus/blob/master/components/synedit/syneditmiscclasses.pp#L1699</a>
<br>
checks for either flag being present, and that is all you need.
=> Then the normal text, and line-ends in the text mark where
each column ends.<br>
</span>
</body>
</html>