Improve BCodeEditor