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

Summary: In comment scope, the home key should go to the beginning of the comment content, not to the left of the asterisk / double-slash
Product: java Reporter: lukas.eder
Component: EditorAssignee: Dusan Balek <dbalek>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.1   
Hardware: All   
OS: Windows 10 x64   
Issue Type: ENHANCEMENT Exception Reporter:

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
     */