1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

bug 295625: Error highlighting in Build Console

Patch from Dmitry Kozlov
This commit is contained in:
Andrew Gvozdev 2010-03-02 14:11:44 +00:00
parent e9e73680c2
commit 67adea10b6

View file

@ -183,6 +183,8 @@ public class BuildConsoleViewer extends TextViewer
StyleRange[] styles = new StyleRange[regions.length];
for (int i = 0; i < regions.length; i++) {
BuildConsolePartition partition = (BuildConsolePartition) regions[i];
if (partition.getStream()== null) return;
Color colorFG = partition.getStream().getColor();
Color colorBG = null;