implement ledit_get_first_line() and ledit_get_next_line() for editor retrieval.