Applies list style (bullets or numbering) to the selected paragraphs
procedure ApplyListStyle(AListNo, AListLevel, AStartFrom: Integer;
AUseStartFrom, ARecursive: Boolean);
(introduced in version 1.7)
This method adds/changes list markers for the selected paragraph(s).
AListLevel – list level. This is an index in the collection of list levels (Style.ListStyles[AListNo].Levels).
If AListLevel=-1, levels of the existing markers are not changed, new markers have level=0.
If AUseStartFrom=True, and this is a numbered list, AStartFrom defines value of the list counter for this marker. If AUseStartFrom=False, the numbering is continued. For bulleted lists, these parameters are ignored.
ARecursive – reserved for future use. Set it to False.
See also methods of TCustomRichView: