View Revisions: Issue #15911

Summary 0015911: After calling insertText(), getText() does not show all characters
Revision 2019-11-05 00:49 by jghali
Description I have a textframe with several templates. When the first template is expanded in situ, I can see the following text with getAllText, but most often not with getText. The functions getTextLength, getStyle work as expected and show the correct length and style, but getText normally returns an empty string. I was looking for a flush-function, and it appears that e.g. saveDoc has some effect, but it cannot be relied on.
This bug prevents my program to expand more than one template. I would also appreciate a workaround.
Revision 2019-11-04 17:25 by m.uhlenberg
Description I have a textframe with several templates. When the first template is expanded in situ, I can see the following text with getAllText, but most often not with getText. The functions getTextLength, getStyle work as expected and show the correct length and style, but getText normally returns an empty string. I was looking for a flush-function, and it appears that e.g. saveDoc has some effect, but it cannot be relied on.
This bug prevents my program to expand more than one template. I would also appreciate a workaround.