Answered
Insert text into a TextFlow
I am able to get text (all or part) out of an exisiting
TextFlow using either TextFilter.export or
textFlow.interactionManager.createTextScrap().
However, I can't seem to figure out how to insert text into a TextFlow (after the initial TextFilter.import). I see textFlow.interactionManager.pasteTextScrap(textScrap) but that requires use of the clipboard. If I use TextFilter.import, it replaces everything and it seems that I need to recreate all the ContainerController objects, etc. I see IEditManager has a replace function, but that doesn't really help me to append text or to replace all the text with new text. I assume I am just missing something obvious.
However, I can't seem to figure out how to insert text into a TextFlow (after the initial TextFilter.import). I see textFlow.interactionManager.pasteTextScrap(textScrap) but that requires use of the clipboard. If I use TextFilter.import, it replaces everything and it seems that I need to recreate all the ContainerController objects, etc. I see IEditManager has a replace function, but that doesn't really help me to append text or to replace all the text with new text. I assume I am just missing something obvious.
