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 117486

Summary: [60cat] Editing String in multilines puts cursor in odd spot
Product: java Reporter: ahagopian <ahagopian>
Component: EditorAssignee: Jan Lahoda <jlahoda>
Status: RESOLVED DUPLICATE    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description ahagopian 2007-10-02 16:10:19 UTC
[ BUILD # : 20071001 ]
[ JDK VERSION : 1.6.0_02 ]

If i'm editing a string for instance:
 
  String s = "Hello, ";

With my cursor right after the comma.  If I press enter the editor
now looks like:

  String s = "Hello, " + 
      "";

Which is nice but now instead of putting my cursor between the 2
quotes on the next line, the cursor is at the very start of that
line.

This used to work even in beta 1 i think so something recently broke
this.
Comment 1 Jiri Prox 2007-10-05 11:17:22 UTC
*** Issue 117855 has been marked as a duplicate of this issue. ***
Comment 2 Jan Lahoda 2007-10-09 14:32:26 UTC

*** This issue has been marked as a duplicate of 112241 ***