https://bugzilla.wikimedia.org/show_bug.cgi?id=57428

--- Comment #6 from Liangent <liang...@gmail.com> ---
(In reply to comment #5)
> So what you mean, is that if you write function(test) in the editor, it will
> correct it to function( test )
> 
> Right ?

Well let me explain my original use case.

The basic framework of JavaScript files is:

( function( $, mw ) {
    // something
} )( jQuery, mediaWiki );

With CodeEditor, I type:

"( function( $, mw ) {\n\t// something"

one by one, where \n\t is an Enter keypress then a Tab. What appears is:

( function( $, mw ) {
    // something
})

and I have to move the cursor after "}", then add a space, then press Right,
then everything left, instead of a simple Down then continuing typing (with
space auto-added). This also happens to every anonymous-function-as-argument
case.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to