Set focus on editor when current tab changed
Update doc

due to recent bug fixes