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.
This bug was originally marked as duplicate of bug 230245, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE Dev (Build 201309250002) VM: Java HotSpot(TM) 64-Bit Server VM, 23.7-b01, Java(TM) SE Runtime Environment, 1.7.0_17-b02 OS: Windows 7 User Comments: GUEST: Can't instert CR after closing curly bracket in scss. GUEST: Apparently, you can't add new lines of CSS code. GUEST: Trying to add code to a LESS file... pressed enter at the end of a line and it gave this error. GUEST: Tried to adjust a scss file GUEST: Problem with hitting return in a scss file. Mac 10.8.5 GUEST: Edditing a scss file. GUEST: Add: .sf-accordion-toggle a#superfish-1-toggle {} Insert CR between curly braces. GUEST: just copied a Compass Mixin to my scss file. recieved this error GUEST: Error when i press enter in the last line of a scss file in close tag GUEST: In code h3{ border: 0px; &:after{ content: ""; display: none} } I pressed enter witch pointer btween { and word "content" GUEST: This error only happens when adding new lines at the end of a CSS rule. GUEST: Crashed when adding @todo to scss file. GUEST: Tried to insert CR between opening curly brace and next selector on the same line. GUEST: error produced by pressing enter in the last line of scss file Stacktrace: java.lang.AssertionError: CssStackItem[state=RULE_FINISHED,indent=-1,processed=false] at org.netbeans.modules.css.editor.indent.CssIndenter.getLineIndent(CssIndenter.java:321) at org.netbeans.modules.web.indent.api.support.AbstractIndenter.processLanguage(AbstractIndenter.java:1197) at org.netbeans.modules.web.indent.api.support.AbstractIndenter.calculateIndentation(AbstractIndenter.java:349) at org.netbeans.modules.web.indent.api.support.AbstractIndenter.reindent(AbstractIndenter.java:209) at org.netbeans.modules.css.editor.indent.CssIndentTask.reindent(CssIndentTask.java:52) at org.netbeans.modules.editor.indent.TaskHandler$MimeItem.runTask(TaskHandler.java:546)
Created attachment 140747 [details] stacktrace
There haven't been a report for 2 years. Probably it is already fixed.