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 241253 - [80cat]Resetting NewLine option after Modifiers does not have intended effect.
Summary: [80cat]Resetting NewLine option after Modifiers does not have intended effect.
Status: VERIFIED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Formatting & Indentation (show other bugs)
Version: 8.0
Hardware: PC Mac OS X
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
: 242714 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-02-01 02:58 UTC by manikantannaren
Modified: 2015-09-10 17:11 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
New line after modifier. (15.80 KB, image/png)
2014-02-01 02:58 UTC, manikantannaren
Details

Note You need to log in before you can comment on or make changes to this bug.
Description manikantannaren 2014-02-01 02:58:36 UTC
Created attachment 144657 [details]
New line after modifier.

Test Specification : http://services.netbeans.org/synergy/client/app/#/specification/297/v/2

Section: Alignment
Sub-section: New lines
Step 4:Open OD and uncheck all checboxes again

Unchecking all other New line options has the desired effect except for the modifiers.

Steps to reproduce
1. Options Dialog | Editor | Formatting
2. Language : Java
3. Category Alignment

4. Select "After Modifiers" in New line section

5 .Apply|Ok

6. REformat code

Desired effect: A new line is inserted after any public, private or protected keywords
Actual Effect: A new line is inserted after any public, private or protected keywords

1. Options Dialog | Editor | Formatting
2. Language : Java
3. Category Alignment

4. Deselect "After Modifiers" in New line section

5. Apply|Ok
6. REformat code

Desired effect: Any new line after any public, private or protected keywords is removed 
Actual Effect: No Change. the new line is not removed
Comment 1 Jiri Prox 2014-03-10 08:15:47 UTC
*** Bug 242714 has been marked as a duplicate of this bug. ***
Comment 2 -Silver- 2015-08-12 09:57:32 UTC
[81cat]
It works for me in NetBeans 8.1 IDE Dev (Build 201508100002). Maybe this issue has been fixed and can be closed.
Comment 3 manikantannaren 2015-08-12 10:02:25 UTC
[81cat]
Works in Build 201508100002 on Windows
Will need to check on mac OSX.
Comment 4 manikantannaren 2015-08-24 06:17:06 UTC
verified fixed in Build 201508230002 on OSX
Comment 5 Jiri Kovalsky 2015-09-10 17:11:39 UTC
OK, verifying then. Thanks guys!