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 - Options for "Blank Lines" allows you to type non-numeric character
Summary: Options for "Blank Lines" allows you to type non-numeric character
Status: VERIFIED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Options (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: Jan Jancura
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-22 13:10 UTC by Petr Dvorak
Modified: 2008-09-24 05:59 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Works slightly better after applying this patch... ;-) (4.37 KB, text/plain)
2008-09-22 13:12 UTC, Petr Dvorak
Details

Note You need to log in before you can comment on or make changes to this bug.
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