This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

View | Details | Raw Unified | Return to bug 203034
Collapse All | Expand All

(-)a/dlight.visualizers/src/org/netbeans/modules/dlight/visualizers/ui/FunctionCallNode.java (-1 / +2 lines)
Lines 200-207 Link Here
200
            if (sourceInfo != null && sourceInfo.isSourceKnown()) {
200
            if (sourceInfo != null && sourceInfo.isSourceKnown()) {
201
                String fname = new File(sourceInfo.getFileName()).getName();
201
                String fname = new File(sourceInfo.getFileName()).getName();
202
                int line = sourceInfo.getLine();
202
                int line = sourceInfo.getLine();
203
                long offset = sourceInfo.getOffset();
203
204
204
                if (line > 0) {
205
                if (line > 0 || offset >= 0) {
205
                    result.append("<font color='#000000'>").append(dispName).append("</font>"); // NOI18N
206
                    result.append("<font color='#000000'>").append(dispName).append("</font>"); // NOI18N
206
                } else {
207
                } else {
207
                    result.append("<font color='#808080'>").append(dispName).append("</font>"); // NOI18N
208
                    result.append("<font color='#808080'>").append(dispName).append("</font>"); // NOI18N

Return to bug 203034