After change doc,shouldn't focus into the editor.

After change the current document,shouldn't focus into the editor.
Otherwise the titleBar will twinkle.