HippoEDIT homepage Welcome, Guest. Please login or register.
July 31, 2010, 03:45:41 pm
Home Help Search Login Register

+  HippoEDIT - Programmers text editor
|-+  General Category
| |-+  Bug reports
| | |-+  Solved (Moderators: alex, Stefan)
| | | |-+  Compiler Output tab ignores CRLF
« previous next »
Pages: [1] Print
Author Topic: Compiler Output tab ignores CRLF  (Read 543 times)
Anonymous
Anonymous
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 6


View Profile
« on: October 24, 2009, 10: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
Logged
alex
Developer
Global Moderator
Hero Member
*****

Karma: +19/-2
Offline Offline

Gender: Male
Posts: 1284



View Profile WWW
« Reply #1 on: October 24, 2009, 11:52:49 pm »

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.
Logged

Anonymous
Anonymous
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 6


View Profile
« 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
Logged
alex
Developer
Global Moderator
Hero Member
*****

Karma: +19/-2
Offline Offline

Gender: Male
Posts: 1284



View Profile WWW
« Reply #3 on: October 26, 2009, 12:30:51 pm »

Hi Peter,

I got it. Thanks.

Best regards,
Alex.
Logged

Pages: [1] Print 
« previous next »
Jump to:  


Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC