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 196334 - Cursor will not move up at end of line
Summary: Cursor will not move up at end of line
Status: RESOLVED DUPLICATE of bug 189869
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 7.0
Hardware: All All
: P4 normal (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-05 05:50 UTC by ksch2702
Modified: 2011-09-07 09:50 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 ksch2702 2011-03-05 05:50:04 UTC
Product Version = NetBeans IDE 7.0 Beta 2 (Build 201102140001)
Operating System = Linux version 2.6.35-27-generic running on amd64
Java; VM; Vendor = 1.6.0_20
Runtime = OpenJDK 64-Bit Server VM 19.0-b09

Generated a "toString" function with "insert code". The function was inserted at the end of the Java file and looks like this:
"
    @Override
    public String toString()
    {
        return "Merkmal{" + "id=" + id + ", merkmalsname=" + merkmalsname + ", gliederungsposition=" + gliederungsposition + ", datenkoerper=" + datenkoerper + ", wertebereich=" + wertebereich + ", einheit=" + einheit + ", gueltigVon=" + gueltigVon + ", gueltigBis=" + gueltigBis + ", verwendungszweck=" + verwendungszweck + ", stichworte=" + stichworte + ", datensatzbeschreibung=" + datensatzbeschreibung + ", feldbeschreibung=" + feldbeschreibung + ", abhaengigkeiten=" + abhaengigkeiten + ", geaendertVon=" + geaendertVon + ", geaendertAm=" + geaendertAm + '}';
    }

"
(The line holding the return statement has a length of 566 characters)

When the cursor ist positioned at the end of the line containing the return statement with the "end" key, it can not be moved to lines above this line with the arrow up key. It can be moved to lines below, but moving up will stop at this line.
This behaviour does not occur when the cursor ist put behind the semicolon ";" (on the same line) by an arrow key.
Comment 1 Milutin Kristofic 2011-09-07 09:50:47 UTC
You probably have a line wrap, where I can reproduce such behaviour.

*** This bug has been marked as a duplicate of bug 189869 ***