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 - [60cat] Editing String in multilines puts cursor in odd spot
Summary: [60cat] Editing String in multilines puts cursor in odd spot
Status: RESOLVED DUPLICATE of bug 112241
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 blocker with 1 vote (vote)
Assignee: Jan Lahoda
URL:
Keywords:
: 117855 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-10-02 16:10 UTC by ahagopian
Modified: 2007-10-09 14:32 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 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 ***