line edit reimplemented