- each line is a separate paragraph. I use a compiler, so I have to merge the lines in the paragraph into one first
- If I copy the code sample to Delphi, there are errors. The problem is using an invisible character to indent. It's not a Tab or a space.
Any specific manual / code sample you refer to here?
I checked TMS VCL UI Pack doc but I couldn't see an issue to do copy & paste from the PDF doc to the Delphi IDE.
What exact operation do you do and what exactly goes wrong?
var StringList: TStringList; begin StringList := TStringList.Create; try StringList.Add('Hello world'); StringList.SaveToFile(FileName); finally Free; end;
It looks like your PDF reader can't handle the linefeed properly.
I tested this here with Acrobat and with Foxit and see no issue.
Foxit, Windows 10
Sample code from page 21
This is a MS Word document with code entered as text and MS Word converts this to PDF.
Is it possible to do something with broken paragraphs? Or it must be so in the PDF.
The indenting is not transfered.