Enter to send·Shift+Enter new line
index( self, ) -> Generator[DocumentIndex, None, None]
Get the index.