Dear all,
When a user clicks a customised button in the ribbon, a plugin of mine performs some operations on all displayed segments, which I access via the Rows property of IEditControl.
With small files, everything works fine. With longer files, however, segments are sometimes missed out at the end.
The reason is that longer files need some time to be fully loaded in the Editor (you can check it easily: pressing Ctrl+End does not bring you to the end of the document if you have just opened it). If the button is clicked "too early", only the segments loaded up to that moment are processed.
Is there any way to check via API that the document in the Editor has been loaded completely? I was not able to find any relevant event (either at EditorController or ActiveDocument level).
Any hint would be appreciated.
Dino