Bug 16922 - [ExternalTools] Output text not always styled
Summary: [ExternalTools] Output text not always styled
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Ant (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P2 major (vote)
Target Milestone: ---   Edit
Assignee: Ryan Cooper CLA
QA Contact:
URL:
Whiteboard:
Keywords: ui
Depends on:
Blocks:
 
Reported: 2002-05-22 13:25 EDT by Adam Schlegel CLA
Modified: 2002-09-18 13:59 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Schlegel CLA 2002-05-22 13:25:05 EDT
Sometimes when running a batch file, the output text written to the log console 
is blue (for normal output), and sometimes it is black (debug output, or not 
styled??). The color can change when running the same batch file twice in a 
row. I have not been able to reproduce this consistently.

The batch file I was using was foo.bat, located in my workspace containing the 
command:
@echo This is the output of foo.bat
Comment 1 Ryan Cooper CLA 2002-05-23 09:04:41 EDT
There is a comment in the LogConsoleView code (that was originally taken from 
AntConsole in the org.eclipse.ant.ui package) which mentions a PR that 
apparently no longer exists:

"1GHQC7Q: ITPUI:WIN2000 - TextViewer#setVisibleRegion doesn't take into account 
the colors"

This seems to be a related problem.

I have a candidate solution for this.
Comment 2 Simon Arsenault CLA 2002-05-27 15:38:53 EDT
Code changes released. In build > 2002-05-27.
Comment 3 Adam Schlegel CLA 2002-06-12 10:14:08 EDT
Verified in 20020611. I can't reproduce the problem anymore.