Numbered lists and TAB key
Posted: Fri Jun 24, 2011 7:35 pm
Hello!
I need to make TRichViewEdit to act like MS Word when user wants to change current list item level with TAB key.
Example.
Let's say a user has activated numbered list input. At first "1. " appears. He enters some text for this item:
1. First item
and presses "Enter". Then the "2." appears like this:
1. First item
2.
and now user presses TAB key and "2." turns to "a." with item level changed to one level deeper, like this:
1. First item
a. Second item.
By default RVE inserts just tab in the place of caret. Is it possible to implement needed behavior?
I need to make TRichViewEdit to act like MS Word when user wants to change current list item level with TAB key.
Example.
Let's say a user has activated numbered list input. At first "1. " appears. He enters some text for this item:
1. First item
and presses "Enter". Then the "2." appears like this:
1. First item
2.
and now user presses TAB key and "2." turns to "a." with item level changed to one level deeper, like this:
1. First item
a. Second item.
By default RVE inserts just tab in the place of caret. Is it possible to implement needed behavior?