Main Menu

Compiler Output tab ignores CRLF

Started by Anonymous, October 24, 2009, 11:31:31 PM

Previous topic - Next topic

Anonymous

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

alex

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.
HippoEDIT team
[url="http://www.hippoedit.com/"]http://www.hippoedit.com/[/url]

Anonymous

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

alex

Hi Peter,

I got it. Thanks.

Best regards,
Alex.
HippoEDIT team
[url="http://www.hippoedit.com/"]http://www.hippoedit.com/[/url]