Find text in segment

Hi All,

In The Studio2022 API the class ' Sdl.TranslationStudioAutomation.IntegrationApi.Document' has method named ' FindTextInSegment', which works perfectly fine, but there are some situations in which it is not sufficient enough. For example if you have the same word in the segment twice, then it is not possible to select the second word (so have a segment source like "This test is just a test" and you want to select the second "test"). Do you have any workaround to solve this specific issue?

If there are no workaround, then can this issue be a feature request for the next studio? (Update this method or create an override) As i see from the decompiled code, it would be not much effort to add optional int parameter and call ( interactiveFind.NextMatch() that many times, with some gaurd).