Fix bug of delete the code buffer instead of text burger