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 - Problem with synchronization in editor
Summary: Problem with synchronization in editor
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Completion & Templates (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Dusan Balek
URL:
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2005-08-14 16:24 UTC by Martin Krauskopf
Modified: 2007-11-05 13:38 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 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.