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 201305232300) VM: Java HotSpot(TM) 64-Bit Server VM, 23.21-b01, Java(TM) SE Runtime Environment, 1.7.0_21-b11 OS: Windows 7 User Comments: mrjxn: alt-shift-f a css file compiled( successfully) from scss source (using foundation framework) GUEST: You also can not tab into a new line of CSS... GUEST: Error when i press enter in the last line of a scss file in close tag GUEST: error produced by pressing enter in the last line of scss file GUEST: Apparently, you can't add new lines of CSS code. GUEST: Simple error saving scss file GUEST: Trying to add code to a LESS file... pressed enter at the end of a line and it gave this error. GUEST: This error only happens when adding new lines at the end of a CSS rule. Stacktrace: java.lang.AssertionError: CssStackItem[state=RULE_FINISHED,indent=-1,processed=false] at org.netbeans.modules.css.editor.indent.CssIndenter.getLineIndent(CssIndenter.java:280) 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 134879 [details] stacktrace
I cannot reproduce the issue. Does anyone have reproducible steps? Thanks in advance.
I can't fix that w/o a reproducible case :-|
The last exception report contains a reproducible steps: h3{ border: 0px; &:after{ | content: ""; display: none} } and press enter on the pipe offset
*** Bug 233980 has been marked as a duplicate of this bug. ***
minimum testcase: a { b { | x:y; } }
fixed in web-main#4ab72a25558e
Integrated into 'main-silver', will be available in build *201308062300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/4ab72a25558e User: Marek Fukala <mfukala@netbeans.org> Log: #230245 - AssertionError: CssStackItem[state=RULE_FINISHED,indent=-1,processed=false]