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 183795

Summary: Control line wrap feature by -J-Dorg.netbeans.editor.linewrap=true/false
Product: editor Reporter: Miloslav Metelka <mmetelka>
Component: Painting & PrintingAssignee: issues@editor <issues>
Status: RESOLVED FIXED    
Severity: normal CC: err, hmichel, wjprakash
Priority: P2    
Version: 6.x   
Hardware: PC   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Miloslav Metelka 2010-04-09 17:23:30 UTC
-J-Dorg.netbeans.editor.linewrap=true

will turn the line wrap on (it activates a new view hierarchy) while

-J-Dorg.netbeans.editor.linewrap=false

will use the old view hierarchy without line wrap. Thanks to Jesse for this single-option suggestion.

 When omitted the default for NB6.9 Beta willl be the line wrap turned off. For dev builds the default is line wrap turned on since we are still confident to stabilize the feature into the NB 6.9 FCS.

 The original option -J-Dorg.netbeans.editor.linewrap.disable=true will no longer work.
Comment 1 Miloslav Metelka 2010-04-11 23:39:30 UTC
For trunk (linewrap turned on by default):
http://hg.netbeans.org/jet-main/rev/4d62d39b41e7

For NB6.9 Beta (linewrap turned off by default):
http://hg.netbeans.org/release69_beta/rev/d910d8c94b8e
Comment 2 Quality Engineering 2010-04-13 17:37:19 UTC
Integrated into 'main-golden', will be available in build *201004131450* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/4d62d39b41e7
User: Miloslav Metelka <mmetelka@netbeans.org>
Log: #183795 - Control line wrap feature by -J-Dorg.netbeans.editor.linewrap=true/false
Comment 3 Anton Chechel 2010-04-14 15:53:07 UTC
*** Bug 184067 has been marked as a duplicate of this bug. ***