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 257372 - In comment scope, the home key should go to the beginning of the comment content, not to the left of the asterisk / double-slash
Summary: In comment scope, the home key should go to the beginning of the comment cont...
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.1
Hardware: All Windows 10 x64
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-03 13:39 UTC by lukas.eder
Modified: 2016-01-03 13:39 UTC (History)
0 users

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 lukas.eder 2016-01-03 13:39:39 UTC
When hitting the "Home" key on a Windows machine within the scope of a comment, I'm expecting the cursor to go to the beginning of the interesting content, not to the left of the comment character. This is true for block comments, Javadoc, as well as single line comments. Example (where | illustrates the cursor:

    // content here|

    /*
     * content here|
     */

Click "home" should lead to:

    // |content here

    /*
     * |content here
     */

instead of:

    |// content here

    /*
    |* content here
     */