Refresh code mirror editor on show