Question
Adding a paragrph element as an undoable action
HI there
I am working on creating a bullet function. It works like this:
- Get the current paragraph selection and use a formatting function - paragraphStartIndent to move that over to the left
- prepend a new paragraph element containing the bullet and use baselineShift to move that down.
I can repeat that for all selected paragraphs. So now the question is how do I make the addChildAt undoable in the same way everything else is via editmanager.
cheers richard
