Added more text manipulation features. Simplified binding of editor actions.