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 258489 - Join multicaret if multiple cursors are at same position
Summary: Join multicaret if multiple cursors are at same position
Status: NEW
Alias: None
Product: editor
Classification: Unclassified
Component: Actions/Menu/Toolbar (show other bugs)
Version: 8.2
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Miloslav Metelka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-22 14:54 UTC by Jiri Prox
Modified: 2016-04-09 11:33 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Prox 2016-03-22 14:54:52 UTC
If the several cursors are placed at the same position, there is no way how to separate them again. But the cursors behaves still as several input points. E.g. when typing a character, the character is inserted several times. 

IMHO It would be better in such case to join the cursors into one again.
Comment 1 Miloslav Metelka 2016-03-22 15:41:27 UTC
Yesterday I've integrated a fix that should eliminate duplicate carets at one offset. Not sure on which build you've tested but for an older build it would be good to re-test on today's build. Thanks.
Comment 2 Jiri Prox 2016-03-23 09:22:43 UTC
Today I've tested NetBeans IDE Dev (Build 201603220001) and the joining cursors is there.  Thanks

I've found only one problem - if the cursors are joined by "backspace" operation the joining did not work.

Steps to reproduce:
1) put first cursor somewhere in the text
2) put second cursor two characters behind the first one
3) press backspace twice so the cursors are at same position
-> they are not merged, character are inserted twice.