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 6.5 (Build 200811100001) VM: Java HotSpot(TM) Client VM, 10.0-b22, Java(TM) SE Runtime Environment, 1.6.0_06-b02 OS: Windows Vista, 6.0, x86 User Comments: gnewton: trying to do text search in file gtzabari: Changed editor tabs and started typing tsromney: Trying to search a document joshis: I selected a text in a java file and I pressed Ctrl+F to invoke the search GUEST: I blocked some code and press Ctrl-F GUEST: I clicked on one of project files in the "Projects" tab to open it robdaemon: UI was loading an xml file to edit when I hit Command-F to find text gnewton: trying to do text search in file Stacktrace: javax.swing.text.BadLocationException: end=2168 < start=11921 at org.netbeans.lib.editor.util.swing.DocumentUtilities.getText(DocumentUtilities.java:328) at org.netbeans.modules.editor.lib2.search.DocumentFinder.findBlocks(DocumentFinder.java:292) at org.netbeans.modules.editor.lib2.search.EditorFindSupport.getBlocks(EditorFindSupport.java:225) at org.netbeans.modules.editor.lib2.highlighting.TextSearchHighlighting$1.run(TextSearchHighlighting.java:145) at org.netbeans.editor.BaseDocument.render(BaseDocument.java:1362) at org.netbeans.modules.editor.lib2.highlighting.TextSearchHighlighting.fillInTheBag(TextSearchHighlighting.java:135)
Created attachment 76066 [details] stacktrace
Problem in SearchBar, end position is not set in some cases.
changeset 3fa6a836e018 in jet-main