Add binding for line editor