editing text line with mouse click