Please use the Apache issue tracking system for new NetBeans issues ( !!

Bug 173363

Summary: New line breaks code
Product: javafx Reporter: Alexandr Scherbatiy <sunflower>
Component: EditorAssignee: Miloslav Metelka <mmetelka>
Status: VERIFIED FIXED QA Contact: issues <>
Priority: P2    
Version: 6.x   
Target Milestone: 6.x   
Hardware: All   
OS: All   
Whiteboard: NO68_BETA
Issue Type: DEFECT Exception Report:
Bug Depends on:    
Bug Blocks: 130138    

Description Alexandr Scherbatiy 2009-09-30 10:12:02 UTC
Product Version         = NetBeans IDE 6.8 Beta (Build 200909281634) (#066b555e5ecf)
  Operating System        = Windows XP version 5.1 running on x86
  Java; VM; Vendor        = 1.6.0_15; Java HotSpot(TM) Client VM 14.1-b02; Sun Microsystems Inc.

Steps to reproduce:

- Copy the code to the editor:
var names = ["Petr"];

- Position cursor before "Petr" string
var names = [|"Petr"]; // | means cursor

- Press Enter

The result is:
var names = ["  

Main.fx:11: Unterminated string literal - missing ' or ".
var names = ["
Main.fx:12: Unterminated string literal - missing ' or ".
Main.fx:12: It looks like you are missing a ',' delimiter or perhaps have a malformed expression here?
Main.fx:12: Sorry, I was trying to understand a sequence creation expression but I got confused when I hit the end of
the script..
 Perhaps you are missing a ']'.
4 errors
Comment 1 Miloslav Metelka 2009-11-14 11:40:20 UTC
Comment 2 Alexandr Scherbatiy 2009-11-17 07:29:59 UTC
verified in Build 200911170201
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo