Textflow substring
I would like to get a plain text string representation of a TextFlow from indexA to indexB. I don't want to effect the current selection.
For example I want to listen to the TextFlow changes and on each change parse the text that the user has entered for certain keywords - ideally only the text they have just entered - not the entire TextFlow. I am using EditManager, and can see the last index of the begining of the last word for example, but I can't understand how to actually get the word as a string without cycling over it character by character. I thought of trying to use TextRange -> TextScrap -> export but that will tamper with the user's selection.
As this is something I would like to do on every FlowOperationEvent, it would be good if it isn't too CPU intensive!
Thanks for any thoughts.
