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 jhavlin. It already has 55 duplicates Build: NetBeans IDE Dev (Build 201305102300) 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: 452: ctrl+x .xhtml 452: ctrl+x GUEST: used undo on some shitty .tpl file - supposed to be smarty template zdenek.rod: I modified wicket markup file. 452: ctrl+x zdenek.rod: I deleted one line in css file using shift+del. zdenek.rod: I deletet accidently end class bracket using shift + del. rozwell: deleting like using shift + delete alied: deleting lines with Ctrl+Del zdenek.rod: I deleted property (property not exist in java) from spring file using shift+del. GUEST: just typing drazisil: print_r($) is a PHP file zdenek.rod: I deleted line using shift+del in spring file. GUEST: just typing eduardoelias: programming php salamander: deleting a string 452: create java class (.java), del template header, ctrl+x in last line ( } - to last line) alied: reverting local changes via the left margin SVN modified/added lines marks. Stacktrace: javax.swing.text.BadLocationException: Invalid offset=414 not within <0, 385> at org.netbeans.editor.Utilities.checkOffsetValid(Utilities.java:1347) at org.netbeans.editor.Utilities.checkOffsetValid(Utilities.java:1342) at org.netbeans.editor.Utilities.getRowStart(Utilities.java:200) at org.netbeans.editor.Utilities.getRowStart(Utilities.java:183) at org.netbeans.modules.showtodos.TodoSourceParsing.parse(TodoSourceParsing.java:73) at org.netbeans.modules.showtodos.HighlightTodos.getHighlights(HighlightTodos.java:97)
Created attachment 134460 [details] stacktrace
http://hg.netbeans.org/main/contrib/rev/9a734af42ffe Fixed.