I always got two same search commands excuted for my TM plugin.
Specifically the function below was invoked twice, if user clicked a segment in editor window or performed pre-translate task.
All parameters are the same.
public SearchResults[] SearchTranslationUnitsMasked(SearchSettings settings, TranslationUnit[] translationUnits, bool[] mask)
Could you help?