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 134647

Summary: Wrong position of cursor, when generating code using Alt-Ins
Product: java Reporter: Jan Becicka <jbecicka>
Component: EditorAssignee: Max Sauer <msauer>
Status: RESOLVED FIXED    
Severity: blocker CC: dbalek, jlahoda
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:
Bug Depends on:    
Bug Blocks: 133913    

Description Jan Becicka 2008-05-07 07:26:45 UTC
For instance user wants to override method:

    @Override
    public void actionPerformed(ActionEvent ev) {
        super.actionPerformed(ev);
    }
    
    |

As you can see, cursor is located behind the method. User must go back, delete method body and start coding.
I think, that method body should be preselected. User will be able just to write a new body.
Comment 1 Max Sauer 2008-07-02 16:06:46 UTC
Fixed.
---
http://hg.netbeans.org/main/rev/9ebd1142f4e7

Comment 2 Quality Engineering 2008-07-03 04:33:45 UTC
Integrated into 'main-golden', available in NB_Trunk_Production #296 build
Changeset: http://hg.netbeans.org/main/rev/9ebd1142f4e7
User: Max Sauer <msauer@netbeans.org>
Log: #134647: Wrong position of cursor, when generating code using Alt-Ins