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.
Summary: | Add range check in Formatting settings | ||
---|---|---|---|
Product: | editor | Reporter: | Jiri Prox <jiriprox> |
Component: | Formatting & Indentation | Assignee: | Rastislav Komara <moonko> |
Status: | REOPENED --- | ||
Severity: | blocker | ||
Priority: | P4 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
Jiri Prox
2009-05-14 15:55:43 UTC
A restriction to 10 would probably be enough. It might help to turn the fields into spin controls, if possible. Sebastian This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue. Thanks for your cooperation, NetBeans IDE 8.2 Release Boss Tested in 8.2 (Build 201608050002) and could still reproduce the issue. Steps to reproduce: 1. Go to Tools > Options > Editor > Formatting 2. Select PHP as language and 'Blank Lines' as category 3. Enter 10000000 into the 'Before Namespace' field => NetBeans ran out of memory. Instead of allowing to enter arbitrary values, the fields should be changed to numeric inputs (aka spin controls, like the one used e.g. within the 'Tabs And Indents' category) with a range restriction from 0 to 10. Sebastian |