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:
parent
e9e73680c2
commit
67adea10b6
1 changed files with 40 additions and 38 deletions
|
@ -183,6 +183,8 @@ public class BuildConsoleViewer extends TextViewer
|
||||||
StyleRange[] styles = new StyleRange[regions.length];
|
StyleRange[] styles = new StyleRange[regions.length];
|
||||||
for (int i = 0; i < regions.length; i++) {
|
for (int i = 0; i < regions.length; i++) {
|
||||||
BuildConsolePartition partition = (BuildConsolePartition) regions[i];
|
BuildConsolePartition partition = (BuildConsolePartition) regions[i];
|
||||||
|
if (partition.getStream()== null) return;
|
||||||
|
|
||||||
Color colorFG = partition.getStream().getColor();
|
Color colorFG = partition.getStream().getColor();
|
||||||
Color colorBG = null;
|
Color colorBG = null;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue