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 136306 - red box appears around method parameter
Summary: red box appears around method parameter
Alias: None
Product: editor
Classification: Unclassified
Component: Completion & Templates (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker with 2 votes (vote)
Assignee: Dusan Balek
Depends on:
Reported: 2008-06-02 18:08 UTC by zx5000
Modified: 2008-06-09 09:50 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description zx5000 2008-06-02 18:08:46 UTC
Please add a configuration option to control the auto-completion red box that appears around suggested method parameters
when typing. This sometimes causes the cursor to be in the wrong place after enter is pressed. Red box would appear
around the "-" in the example below.


Comment 1 Petr Dvorak 2008-06-02 19:01:45 UTC
Following discussion on nbusers, I agree with this issue. I think that if you press Enter when the caret is outside the
red outline, it should behave differently than if you press Enter inside of the outline... I don't know if a
configuration option is the solution, I would just distinguish between those two situations...
Comment 2 Vitezslav Stejskal 2008-06-07 11:02:29 UTC
Agreed, I've already discussed this with somebody the other day. The ENTER behavior should be exactly as you say. I'm
marking this as a P3 defect.
Comment 3 Dusan Balek 2008-06-09 09:50:17 UTC
Fixed. ENTER behavior changed as requested.

changeset 1021213ce539 in main