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 147868

Summary: Options for "Blank Lines" allows you to type non-numeric character
Product: editor Reporter: Petr Dvorak <joshis>
Component: OptionsAssignee: Jan Jancura <jjancura>
Status: VERIFIED FIXED    
Severity: blocker    
Priority: P4    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: Works slightly better after applying this patch... ;-)

Description Petr Dvorak 2008-09-22 13:10:32 UTC
Product Version: NetBeans IDE Dev (Build 080922)
Java: 1.5.0_16; Java HotSpot(TM) Client VM 1.5.0_16-b02
System: Linux version 2.6.24-19-generic running on i386; UTF-8; en_US (nb)

Go to Tools>Options>Editor>Formatting, select Java language and "Blank Lines" category. There are several textfields
that should allow you to specify numbers of blank lines. These textfields, however, allow you to enter non-numeric
characters. No exceptions are thrown, the problem is minor.
Comment 1 Petr Dvorak 2008-09-22 13:12:38 UTC
Created attachment 70206 [details]
Works slightly better after applying this patch... ;-)
Comment 2 Vitezslav Stejskal 2008-09-23 11:53:45 UTC
Thanks for the patch. Local changeset: 0fdbeb02c029
Comment 3 Petr Dvorak 2008-09-23 12:10:21 UTC
You are welcome;)...
Comment 4 Quality Engineering 2008-09-24 05:59:45 UTC
Integrated into 'main-golden', will be available in build *200809240201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/0fdbeb02c029
User: Vita Stejskal <vstejskal@netbeans.org>
Log: #147868: applying joshis' patch for checking if entered characters are numbers in the blank lines customizer