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 253901 - Cursor becomes different position when undoing SHIFT+ENTER
Summary: Cursor becomes different position when undoing SHIFT+ENTER
Status: NEW
Alias: None
Product: editor
Classification: Unclassified
Component: Actions/Menu/Toolbar (show other bugs)
Version: 8.1
Hardware: PC Windows 7
: P4 normal (vote)
Assignee: Miloslav Metelka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-28 13:53 UTC by stwr
Modified: 2016-07-23 18:44 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description stwr 2015-07-28 13:53:49 UTC
Product Version: NetBeans IDE 8.1 Beta (Build 201507231027)
Java: 1.8.0_60-ea; Java HotSpot(TM) 64-Bit Server VM 25.60-b23
Runtime: Java(TM) SE Runtime Environment 1.8.0_60-ea-b25
System: Windows 7 version 6.1 running on amd64; Cp1250; en_US (nb)
User directory: C:\Users\cendrowiczm\AppData\Roaming\NetBeans\8.1beta
Cache directory: C:\Users\cendrowiczm\AppData\Local\NetBeans\Cache\8.1beta

Test Case --> http://services.netbeans.org/synergy/client/app/#/case/2257/suite/1283/v/1

This looks like really minor bug. Use Case:

1. Type String a = "abcd 12345"; in the editor
2. Place caret behind 12345 and press SHIFT+ENTER
3. Use Undo

EXPECTED:
New line gets removed and caret returns to the first location (behind 12345)

ACTUAL:
New line gets removed and caret returns to the beginning of original line (after ;)
Comment 1 Jiri Prox 2015-08-05 13:03:30 UTC
reproducible
Comment 2 manikantannaren 2015-08-21 05:04:50 UTC
Reproducible in Build 201508200002
Comment 3 stwr 2015-08-26 08:55:45 UTC
Issue is still reproducible.

Product Version: NetBeans IDE Dev (Build 201508260002)
Java: 1.8.0_60-ea; Java HotSpot(TM) 64-Bit Server VM 25.60-b23
Runtime: Java(TM) SE Runtime Environment 1.8.0_60-ea-b25
System: Windows 7 version 6.1 running on amd64; Cp1250; en_US (nb)
Comment 4 mhmdchebbi 2016-07-23 18:44:45 UTC
Issue is still reproducible.

Product Version: NetBeans IDE Dev (Build 201607230002)
Java: 1.8.0_102; Java HotSpot(TM) 64-Bit Server VM 25.102-b14
Runtime: Java(TM) SE Runtime Environment 1.8.0_102-b14
System: Linux version 3.19.0-32-generic running on amd64; UTF-8; fr_FR (nb)