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.
Created attachment 138325 [details] Project to use for reproduction 1. Open attached project and open wrapping.Wrapping1.java. 2. Goto Tools>>Options>>Editor>>Formatting, Language:Java, Category: Tabs and Indents. 3. Uncheck "Use All Languages Settings". 4. Set Right Margin: 40. 5. Change Category to Wrapping. 6. Change the first 3 options below to "If Long". 6. Click Apply button. 7. Click OK button. 8. Notice the right margin line initially is at 40, but jumps back to 80. The setting is reverted back. Expected: The setting stays at 40. Workaround: Click apply on Tabs and Indents panel first, then change Wrapping setting. Product Version: NetBeans IDE Dev (Build 201308042300) Java: 1.7.0_25; Java HotSpot(TM) 64-Bit Server VM 23.25-b01 Runtime: Java(TM) SE Runtime Environment 1.7.0_25-b16 System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb) Additionally, if I uncheck "Use All Languages Settings" without changing anything and click Apply, the setting does not persist and the checkbox is automatically checked again.
Comment on attachment 138325 [details] Project to use for reproduction You actually don't need to use the attached project file, just open up any Java source file.
Fixed in jet-main. http://hg.netbeans.org/jet-main/rev/c46b93bd1315
Integrated into 'main-silver', will be available in build *201308112300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/c46b93bd1315 User: Dusan Balek <dbalek@netbeans.org> Log: Issue #233978: Tabs and Indent settings revert to default - fixed.