Filtered segments counts ?

I am trying to write a brief PlugIn

 

It counts segments from filtered result

It works like hu(wo)man (I mean slow), selects all the segments using leftmost seg numbers and counts it.

But, I'd like to improve its working speed.

 

So...

I used default 'Display Filter' to make a good result.

-in screenshot its result shows 4 segments

 

Now, when I run 'Advanced Display Filter', it shows another nice figure.

-in screenshot it reveals 'Filtered 4 of 27 segments' . I like very much this part.

 

But, when I run 'Community Advanced Display Filter', it lacks this message. Just empty.

 

Screenshot of Trados Studio with a Display Filter applied showing 4 segments in the results pane.

 

Is there any way to use this figures ?

If possible, I'd like to know the list of filtered segments too.

 

Thanks 



Generated Image Alt-Text
[edited by: Trados AI at 1:10 PM (GMT 0) on 5 Mar 2024]