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 140010 - Code completion breaks code formatting
Summary: Code completion breaks code formatting
Status: VERIFIED FIXED
Alias: None
Product: javafx
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: David Strupl
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2008-07-15 09:36 UTC by Alexandr Scherbatiy
Modified: 2008-07-15 18:06 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 Alexandr Scherbatiy 2008-07-15 09:36:04 UTC
Steps to reproduce:

Create a JavaFX Script code:
---------------------------------------
import java.lang.System;
import javafx.scene.

System.out.println("Hello World!");
---------------------------------------
- Go to the end of 'import javafx.scene.' line,
  press <Ctrl+Space>
- Select 'paint' from the popup menu
  The code formatting is broken:
---------------------------------------
import java.lang.System;
import javafx.scene.paint.out.println("Hello World!");
---------------------------------------
Comment 1 David Strupl 2008-07-15 10:05:33 UTC
The regression was caused by the following commit:

changeset:   890:6a3283a551f7
user:        manowar@netbeans.org
date:        Mon Jul 14 18:09:25 2008 +0200
summary:     codecompletion: issue #139135 has been fixed

Investigating.
Comment 2 David Strupl 2008-07-15 10:38:36 UTC
Fixed by Anton by 897:b4d61870f2c4.
Comment 3 Lark Fitzgerald 2008-07-15 18:06:06 UTC
Verified using:
Product Version: NetBeans IDE 6.1 (Build 200805300101)
Java: 1.6.0_10-beta; Java HotSpot(TM) Client VM 11.0-b11
System: Windows Vista version 6.0 running on x86; Cp1252; en_US (nb)
Installer build: NO
fx NB61 continuous plugin: 364