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 62253

Summary: Problem with synchronization in editor
Product: editor Reporter: Martin Krauskopf <mkrauskopf>
Component: Completion & TemplatesAssignee: Dusan Balek <dbalek>
Status: RESOLVED FIXED    
Severity: blocker Keywords: RANDOM
Priority: P2    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Martin Krauskopf 2005-08-14 16:24:38 UTC
Not easily reproducible, but happens relatively often. (doesn't matter to much
what actual variables are)

1) have this line of code

  data.setGMISeparatorAfter(someCheckbox1.isSelected());

*Fastly* write/do the following:

1) write "data.setGMISeparatorBefore(someChec" (without quotes)
2) press Ctrl+Space, choose "someCheckbox2"
3) write ".is"
4) press Alt+K (isSelected is filled up)
5) write "()"

During pressing ')' in step 5, following line is the result:

  data.setGMISeparatorBefore(menuSeparatorBefore()

instead of 

data.setGMISeparatorBefore(menuSeparatorBefore.isSelected()

Very annoying.
Comment 1 Martin Matula 2005-08-19 16:55:42 UTC
Seems to be a code completion problem. Reassigning.
Comment 2 Martin Roskanin 2005-08-30 12:58:58 UTC
I cannot reproduce it on WinXP (jdk1.4.2_03) using latest dev build. (BTW, I
assume in step 4. you mean Ctrl+K...)
Comment 3 Martin Krauskopf 2005-08-30 13:36:38 UTC
> BTW, I assume in step 4. you mean Ctrl+K...

Sure, sorry.
Comment 4 Miloslav Metelka 2005-10-10 16:56:01 UTC
I cannot reproduce this either. I guess this was fixed by one of the previous
completion fixes. Please reopen if the problem persists.