No, there is no table or break. I built a demo project from scratch to further investigate. As it turns out, the problem occurs when a level other than level 0 is selected. To replicate:
1. Build a new project in delphi
2. Add a TRichViewEdit and a TRVStyle. Link them together.
3. Create a new ListStyle. Give it three levels. Make them of type Decimal. Set the FormatString property to "%s."
4. Place a button on the form. In the OnClick event, enter the following code:
Code: Select all
RichViewEdit1.SelectAll;
RichViewEdit1.ApplyListStyle(1, 1, 2, True, False);
5. Run the project, type some text into the editor, and click the button. Although it should start with 2, it starts with 1. Now, try it using the 0 level by using the following code instead:
Code: Select all
RichViewEdit1.SelectAll;
RichViewEdit1.ApplyListStyle(1, 0, 2, True, False);
It works just fine in this scenario.