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 issue was reported manually by vriha. It already has 1 duplicates Build: NetBeans IDE Dev (Build EaselCSS-497-on-20120814) VM: Java HotSpot(TM) Client VM, 23.2-b09, Java(TM) SE Runtime Environment, 1.7.0_06-b24 OS: Linux User Comments: vriha: Caused by: - have following snippet: <li class="todo"> - put cursor inside the "todo" - in Rule Editor window press Add Property and add some property Stacktrace: javax.swing.text.BadLocationException: Wrong remove position -1 < 0 at org.netbeans.editor.BaseDocument.handleRemove(BaseDocument.java:918) at org.netbeans.editor.BaseDocument$FilterBypassImpl.remove(BaseDocument.java:2404) at javax.swing.text.DocumentFilter.remove(DocumentFilter.java:79) at org.openide.text.CloneableEditorSupport$DocFilter.remove(CloneableEditorSupport.java:3031) at org.netbeans.editor.BaseDocument.remove(BaseDocument.java:901) at org.netbeans.modules.css.model.api.Model.applyChanges(Model.java:373)
Created attachment 123138 [details] stacktrace
similar case happens with following code: <li style="font:12px;">
Created attachment 123882 [details] stacktrace using new rule dialob
fixed as the rule editor shows nothing when the class or id attribute in html code is selected.