Improved line edit