Author Topic: Compiler Output tab ignores CRLF  (Read 3728 times)

Offline Anonymous

  • Anonymous
  • Jr. Member
  • **
  • Posts: 77
  • Karma: +0/-0
Compiler Output tab ignores CRLF
« on: October 24, 2009, 11:31:31 PM »
Using registered copy of V1.46.
Compiling Delphi 2010 source using DCC32.exe capturing compiler output. Windows XP
The Output tab displays the compiler's output, but CRLF is ignored at intervals with majority of output lines appearing on the same line.
The output shows a small box indicating the position of the CRLF sequence.
If I use copy all in the Output tab and paste into a plain text file then the output is formatted correctly.

Peter

Offline alex

  • Developer
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2206
  • Karma: +37/-3
    • HippoEDIT
Re: Compiler Output tab ignores CRLF
« Reply #1 on: October 25, 2009, 12:52:49 AM »
Hi Peter,

welcome on forum.

I have doubts that this is CRLF, probably only LF, because CRLF is handled correctly and you would see two boxes for both chars if it is CRLF.
That works when you copy it to editor, because it recognizes all combinations of line breaks and can works even in mixed mode, but this is not implemented for Output Window which currently uses normal edit box for displaying text (this would be changed next versions).

Can you please send me (Bug report entry in Help menu) file created in HippoEDIT from the output text, then I can check what is really read.
You can also see this by yourself:
check View->Editor->White Space, then you would see real line endings for the output text (if it is mixed).
Also in the status bar should be written which type of the line breaks is used.

I can try to fix this, by replacing all non-dos line breaks by \r\n, this can decrease performance a little bit but I think would not be noticeable.

Would try to do this next 1.47 beta, but please check that my assumption was right.

Best regards,
Alex.

Offline Anonymous

  • Anonymous
  • Jr. Member
  • **
  • Posts: 77
  • Karma: +0/-0
Re: Compiler Output tab ignores CRLF
« Reply #2 on: October 26, 2009, 03:40:45 AM »
Thanks,

I've sent you a bug report with the output pane file attached.

When I look at this file with View|Editor|White Space as you suggested the problem lines are ending with only a CR and are missing the LF character

Peter

Offline alex

  • Developer
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2206
  • Karma: +37/-3
    • HippoEDIT
Re: Compiler Output tab ignores CRLF
« Reply #3 on: October 26, 2009, 12:30:51 PM »
Hi Peter,

I got it. Thanks.

Best regards,
Alex.