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.
Build: NetBeans IDE Dev (Build 20140526-92fa3bb7826f) VM: Java HotSpot(TM) 64-Bit Server VM, 25.5-b02, Java(TM) SE Runtime Environment, 1.8.0_05-b13 OS: SunOS User Comments: alexvsimon: navigate in macro expansion view Stacktrace: java.lang.AssertionError: Start position must be before the end position. at org.netbeans.spi.editor.highlighting.support.PositionsBag.addHighlightImpl(PositionsBag.java:482) at org.netbeans.spi.editor.highlighting.support.PositionsBag.addHighlight(PositionsBag.java:139) at org.netbeans.modules.cnd.highlight.semantic.SemanticHighlighter.addHighlightsToBag(SemanticHighlighter.java:273) at org.netbeans.modules.cnd.highlight.semantic.SemanticHighlighter.addHighlightsToBag(SemanticHighlighter.java:264) at org.netbeans.modules.cnd.highlight.semantic.SemanticHighlighter.updateImpl(SemanticHighlighter.java:234) at org.netbeans.modules.cnd.highlight.semantic.SemanticHighlighter.access$500(SemanticHighlighter.java:88)
Created attachment 147454 [details] stacktrace
Created attachment 147468 [details] stacktrace show macro expansion view of synch.h, function mutex_recursion
This is one of IDE misbehaviors related with activated macro expansion view. Full list of problems: - some semantic highlighters cannot work with expanded document - some semantic highlighters produce blocks in term of main document - sometimes reference resolver uses transformation table form opposite document - parsing API call unneeded task such as assign variable and error highlighters - also see problem in the bug #244769
fixed, change set: http://hg.netbeans.org/cnd-main/rev/cbc97bdc3a39