Some changes and context menu added in text editor.