Bug 364679

Summary: The cursor won't jump to the right of the ')' when it inside a '()'
Product: [Modeling] TMF Reporter: Lipeng Mising name <nowind_lee>
Component: XtextAssignee: Project Inbox <tmf.xtext-inbox>
Status: NEW --- QA Contact:
Severity: minor    
Priority: P3 CC: karsten.thoms
Version: unspecifiedKeywords: triaged
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Lipeng Mising name CLA 2011-11-24 02:40:48 EST
Build Identifier: 

In xtend editor, when type '(', it will append a ')' automatically, now it looks like ('|' means the cursor): 

    (|)

Now press 'enter', it becauses:

    (
        |
    )

But in Java editor, it will be:

    ()|

I think it's better to provide same behavior like Java's.

Reproducible: Always
Comment 1 Karsten Thoms CLA 2016-09-13 03:45:44 EDT
Happens only when the brackets belong to a method call.