Bug 16922

Summary: [ExternalTools] Output text not always styled
Product: [Eclipse Project] Platform Reporter: Adam Schlegel <Adam_Schlegel>
Component: AntAssignee: Ryan Cooper <ryan_cooper>
Status: VERIFIED FIXED QA Contact:
Severity: major    
Priority: P2 CC: simon_arsenault
Version: 2.0Keywords: ui
Target Milestone: ---   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

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.