Change action.

Action will affect the selected lines, not only the selected text.
Strange hack. Variable do not GC ?
Can support unordered list to ordered list.