support adding line indexes to paste title for selections