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 270949 - Preserve cursor column when moving with Control key
Summary: Preserve cursor column when moving with Control key
Status: NEW
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 8.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-23 15:44 UTC by pols12
Modified: 2017-06-23 15: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 pols12 2017-06-23 15:44:02 UTC
First issue:

Place your cursor to n-th column of the line.
Move your cursor to m-th (m ≠ n) column of the line using arrow keys (left or right).
Press Up arrow key: your cursor columns is still m-th.

Place your cursor to n-th column of the line.
Move your cursor to m-th (m ≠ n) column of the line using Control + arrow keys (left or right).
Press Up arrow key...

Expected: your cursor columns is still m-th (like without Control).

Actual: your cursor column is n-th.



Second issue (with a two lines, first is bigger):

Place your cursor to n-th column of the first line (n higher than second line size).
Move your cursor to m-th column (m higher than second line size too).
Press Down arrow key: you’re at the end of second line.
Press Up arrow key:
-if you had moved your cursor without Control key, you’re at m-th column.
-if you had moved your cursor using Control key, you’re at n-th column.