For motivation for this report, please, read issue #214494.
The problem is that in PHP, we run an external task which supports colored output. But this task is ready for "black" terminal only so it uses white color for some of its output (and we cannot change or configure it since there is no such possibility). Of course, white text is not visible on white background...
Would it make sense to change color of text to black if the color is white? Or, more generally, to revert text color if it is the same as the color of a background?
Added support for ANSI background colors.
Please consider this support experimental. If some serious problems appear, it might be reverted.
> Would it make sense to change color of text to black if the color is white? Or,
> more generally, to revert text color if it is the same as the color of a
This make sense. The foreground color is changed if it is very similar to the background color.
Please check whether the output is correctly colored now (issue #214494).
Integrated into 'main-golden', will be available in build *201207280002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
User: Jaroslav Havlin <firstname.lastname@example.org>
Log: #214546: Support for ANSI background colors
Thanks, it is. Now the error msg has red background color (exactly like in system terminal) with white font
Product Version: NetBeans IDE Dev (Build 201207300002)
Java: 1.7.0_06-ea; Java HotSpot(TM) Client VM 23.2-b09
System: Linux version 3.0.0-21-generic-pae running on i386; UTF-8; en_US (nb)
*** Bug 213883 has been marked as a duplicate of this bug. ***