In-paragraph autonumerated lists
Quite often we have to create numbered lists, each element of which is a separate paragraph with a number or letter in front of it. But sometimes we need to build a long list that will be contained in one paragraph (enumeration), (for example, a) ...; b) ...; ... n) ... or 1) ...; 2) ...; ... 999). ). When such a list is being edited (its parts are added or deleted), such indexes also need to be edited manually, which takes a lot of time.
My idea is to add a new marker type (such as a page number marker), which will automatically increase or decrease when editing a paragraph (in the form of a number or a letter with additional symbols, for example, brackets). Let each paragraph can contain only one such list. In other paragraphs, if they will contain such lists, numeration will be restarted from beginning.
Texts using such lists are very common, but this task can not be done with scripts, because we need to use some sort of marker that changes all the time and can not be part of a text or a text variable. A character style can be assigned to the text which will replace of markers, from paragraph style.