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 146562 - [65cat] problem with semi-colons in for loops
Summary: [65cat] problem with semi-colons in for loops
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: PC Linux
: P2 blocker (vote)
Assignee: issues@editor
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2008-09-08 19:50 UTC by ardavis26
Modified: 2008-09-10 17:20 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ardavis26 2008-09-08 19:50:29 UTC
[ BUILD # : 080907 ]
[ JDK VERSION : 1.6.0_06 ]

I started typing a for loop.  I defined my variable when I typed the
   semi-colon it jumped to the end of the line.
Comment 1 Petr Dvorak 2008-09-09 10:20:55 UTC
Reproducible. Steps to reproduce:

1. Create a new Java Application with a main class
2. type "for (" to the editor
->closing bracket is completed
3. type "int i = 0;"
->semicolon jumps behind the bracket
Comment 2 Vitezslav Stejskal 2008-09-09 10:31:52 UTC
I guess this is yet another regression in the new shiny bracket completer.
Comment 3 Miloslav Metelka 2008-09-10 09:41:07 UTC
Apologies, it should now be fixed and unit tests added.
http://hg.netbeans.org/main/rev/496aee673418
Comment 4 Quality Engineering 2008-09-10 17:20:06 UTC
Integrated into 'main-golden', will be available in build *200809101401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/496aee673418
User: Miloslav Metelka <mmetelka@netbeans.org>
Log: #146562 - problem with semi-colons in for loops