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 20130823-7861a967d96f) VM: Java HotSpot(TM) 64-Bit Server VM, 23.21-b01, Java(TM) SE Runtime Environment, 1.7.0_21-b11 OS: Linux User Comments: rodrigorsantos: <Please provide a description of the problem or the steps to reproduce> zdenek.rod: I try to update file but ide don't allow to me this modification. zdenek.rod: I try to comment some line in xsl, but file was locked. Stacktrace: javax.swing.text.BadLocationException: Modification not allowed at org.openide.text.CloneableEditorSupport$DocFilter.modificationNotAllowed(CloneableEditorSupport.java:2336) at org.openide.text.CloneableEditorSupport$DocFilter.checkModificationAllowed(CloneableEditorSupport.java:2330) at org.openide.text.CloneableEditorSupport$DocFilter.insertString(CloneableEditorSupport.java:2269) at org.netbeans.editor.BaseDocument.insertString(BaseDocument.java:754) at org.netbeans.modules.csl.api.ToggleBlockCommentAction.insert(ToggleBlockCommentAction.java:421) at org.netbeans.modules.csl.api.ToggleBlockCommentAction.comment(ToggleBlockCommentAction.java:338)
Created attachment 139152 [details] stacktrace
http://hg.netbeans.org/jet-main/rev/0b3c064124ab
*** Bug 233816 has been marked as a duplicate of this bug. ***