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.
There is wrong interaction between code completion and block selection, which places cursor at unexpected places. Steps to reproduce: 1) have a line of code: File f= new File("aaa"); 2) turn on block selection 3) put cursor at the next line (properly indented) 4) type FileR 5) press ctrl-space to open code completion and select FileReader 6) now press space -> space is inserted behind FileR not at the position where is the cursor! Product Version: NetBeans IDE 7.3 (Build 201305162200) Java: 1.6.0_45; Java HotSpot(TM) Client VM 20.45-b01 Runtime: Java(TM) SE Runtime Environment 1.6.0_45-b06 System: Windows 7 version 6.1 running on x86; Cp1250; cs_CZ (nb) User directory: C:\Users\jprox\AppData\Roaming\NetBeans\7.3 Cache directory: C:\Users\jprox\AppData\Local\NetBeans\Cache\7.3
Seems like a problem of rectangular selection and not code completion (similar result can be achieved using e.g. Fix Imports action and others). Reassigning to editor for further evaluation.
Created attachment 135751 [details] fix It will be fix after beta branching.
http://hg.netbeans.org/jet-main/rev/4d12fe0e1d2b
Integrated into 'main-silver', will be available in build *201307011244* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/4d12fe0e1d2b User: Milutin Kristofic <mkristofic@netbeans.org> Log: #229917 - Wrong interaction between code completion and block selection