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 49761 - long line wrapping
Summary: long line wrapping
Status: RESOLVED DUPLICATE of bug 6065
Alias: None
Product: editor
Classification: Unclassified
Component: Formatting & Indentation (show other bugs)
Version: 4.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: issues@editor
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-30 20:16 UTC by trenta
Modified: 2007-11-05 13:39 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 trenta 2004-09-30 20:16:28 UTC
Whether this is a bug is debatable.  But, it's
really annoying.  I've been wanting it to be fixed
for a very long time, but have never reported it.

Let's say I have the following line of java code...
dbFirstName.toUpperCase().trim
().equals(firstname.toUpperCase().trim ())

Well, if it's too long, I want to make it wrap to
the next line by hitting enter.

The editor does this...
dbFirstName.toUpperCase().trim ().equals(
firstname.toUpperCase().trim ())

But it should do this...
dbFirstName.toUpperCase().trim ().equals(
    firstname.toUpperCase().trim ())

The indentation level should be selectable in the
indentation engine I would think.  Should this
wait until after 4.0 release?
Comment 1 Dusan Balek 2004-10-01 08:33:29 UTC

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