Since this issue still persists, in Lazarus 1.6 / FPC 3.0, I'm yet again try to find where the problem might be so I can try to fix it myself (and contribute to Lazarus).
So far I know that adding a Caption or Hint with line breaks works perfectly fine under Windows and Linux.
I also know it works when I set these at runtime, and I know that editing the .lfm works as well like so:
object Label1: TLabel
Left = 415
Height = 16
Top = 297
Width = 87
Caption = 'Label1'#13#10'Label2'
ParentColor = False
WordWrap = True
end
As soon as I enter something in the Caption or Hint in the Object Inspector, the new line and/or carriage return gets filtered out.
Can anyone tell me how to debug the object inspector - I suspect the issue is to be found there, and a Carbon specific piece. I just have no idea how to do this.