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 201102280001) VM: Java HotSpot(TM) Client VM, 19.1-b02, Java(TM) SE Runtime Environment, 1.6.0_24-b07 OS: Windows XP User Comments: vriha: Just in case, this is the same as Bug 195850 What caused it: 1. Create new default php project 2. Create new php file 3. Type function moje(){} on the line before ?> 4. Hit enter several times with cursor having between {} brackets The code highlighting was working Stacktrace: java.lang.AssertionError: start=124 newStart=110 jts=JoinedTokenSequence[ContextDataTokenSequence[CURRENT,ts=TokenSequence for text/x-php5/text/html at tokenIndex=0. TokenList contains 1 tokens: *[0]: <null-text> <110,111> TEXT[0] DefT, la=1, st=State(hash=4343092,s=1,ss=0,es=0,tag=null,attr=null), IHC=6314510 ,virtual=false]] at org.netbeans.modules.css.formatting.api.support.AbstractIndenter.calculateIndentation(AbstractIndenter.java:303) at org.netbeans.modules.css.formatting.api.support.AbstractIndenter.reindent(AbstractIndenter.java:201) at org.netbeans.modules.html.editor.indent.HtmlIndentTask.reindent(HtmlIndentTask.java:74) at org.netbeans.modules.editor.indent.TaskHandler$MimeItem.runTask(TaskHandler.java:546) at org.netbeans.modules.editor.indent.TaskHandler.runTasks(TaskHandler.java:316) at org.netbeans.modules.editor.indent.IndentImpl.reindent(IndentImpl.java:281)
Created attachment 106531 [details] stacktrace
*** This bug has been marked as a duplicate of bug 195850 ***