Added 'complete_after_insert_text' method to 'Line'.