Improved Line Editing