So do we still want to keep the option to use CodeMirror editor? I thought we are going to remove it and force users to use plain text by default. 

Patrick Huang 
Senior Software Engineer 
Engineering - Internationalisation 
Red Hat 

----- Original Message -----

> From: "Ding-Yi Chen" <notifications@github.com>
> To: "zanata/zanata-server" <zanata-server@noreply.github.com>
> Cc: "Patrick Huang" <pahuang@redhat.com>
> Sent: Monday, February 17, 2014 1:46:52 PM
> Subject: Re: [zanata-server] WIP add key shortcut to switch between editor
> for current row (#379)

> In zanata-war/src/main/java/org/zanata/webtrans/client/ui/Editor.java:
> >
> >      public Editor(String displayString, final int index,
> >              final TargetContentsDisplay.Listener listener, final
> >              TransUnitId id) {
> >          this.listener = listener;
> >          this.index = index;
> >          this.id = id;
> > +        onCodeMirrorFocusCallback = new Command() {
> > +            @Override
> > +            public void execute() {
> > +                listener.onEditorClicked(id, index);
> > +            }
> > +        };
> >          if (listener.getConfigState().isUseCodeMirrorEditor()) {

> @seanf Agreed, as some language is less rely on spell checker (lik CJK).

> —
> Reply to this email directly or view it on GitHub .