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.

Bug 258751

Summary: Multicaret: code completion does not work for all carets
Product: editor Reporter: markiewb
Component: Actions/Menu/ToolbarAssignee: Miloslav Metelka <mmetelka>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.2   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Exception Reporter:
Attachments: Shows the issue

Description markiewb 2016-04-09 13:05:46 UTC
Created attachment 159185 [details]
Shows the issue

Reproduction:
* Place several carets 
* Press shortcut for 'codecompletion' (CTRL-SPACE/CTRL-SHIFT-SPACE/... in Eclipse layout)

ACTUAL: the completion is only done for the last caret - see attached screencast

EXPECTED: 
a) the completion is done for all carets (which can be tricky, because often you need a context for CC; a simple case is supported by IDEA http://blog.jetbrains.com/idea/files/2014/03/multiple_selections.gif) OR

b) the completion is done for none of the carets (the action is disabled for multiple carets)


Product Version: NetBeans IDE Dev (Build 201603200001)
Updates: Updates available
Java: 1.8.0_71; Java HotSpot(TM) 64-Bit Server VM 25.71-b15
Runtime: Java(TM) SE Runtime Environment 1.8.0_71-b15