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 258796

Summary: Multicaret: Pressing RETURN is not applied to all carets
Product: editor Reporter: markiewb
Component: Actions/Menu/ToolbarAssignee: Ralph Ruijs <ralphbenjamin>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P1    
Version: 8.2   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Exception Reporter:
Attachments: Shows the issue

Description markiewb 2016-04-12 21:11:57 UTC
Created attachment 159238 [details]
Shows the issue

Reproduction:
* "|This |is |a |sample" // caret at |
* press RETURN

ACTUAL:
* RETURN is applied to the last caret
* all the other carets are lost, multicaret-mode is disabled - see attached screencast

This is a 
|sample


EXPECTED:
* RETURN is applied to all carets
* all the carets are still there and multicaret-mode is still enabled
|This 
|is 
|a 
|sample
Comment 1 Ralph Ruijs 2016-04-26 07:55:37 UTC
changeset:   6a3c6b270211
user:        Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org>
date:        Tue Apr 26 09:52:18 2016 +0200
summary:     #258796 adjust insert break for multiple carets
Comment 2 Quality Engineering 2016-04-27 02:25:47 UTC
Integrated into 'main-silver', will be available in build *201604270002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/6a3c6b270211
User: Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org>
Log: #258796 adjust insert break for multiple carets