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 117855 - [60cat] Cursor position incorrect in Java source after pressing return
Summary: [60cat] Cursor position incorrect in Java source after pressing return
Status: RESOLVED DUPLICATE of bug 117486
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: Other Linux
: P3 blocker (vote)
Assignee: issues@editor
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-04 22:51 UTC by dynamite
Modified: 2007-11-05 13: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 dynamite 2007-10-04 22:51:12 UTC
[ BUILD # : 200710030000 ]
[ JDK VERSION : 1.6.0_02 ]

I see strange cursor indentation behaviour with 
the Java editor (| represents the cursor 
position)...

    public MyClass(boolean valid) {
        this.valid| = valid;
    }

Now press return before the = and I get

    public MyClass(boolean valid) {
        this.valid
|              = valid;
    }

The indentation is correct but the cursor 
position should be indented as well.
Comment 1 Jiri Prox 2007-10-05 11:17:31 UTC
This is duplicate of issue 117486. Thanks for your report

*** This issue has been marked as a duplicate of 117486 ***