コード例 #1
0
 //Concordance search uses this method. This plugin was developed before custom UI stuff existed in the API,
 //so this was used as a hacky way of adding terms in the Studio UI. So when you run concordance search on a
 //text that contains the term addition separator, the term is added to the rule file.
 public SearchResults SearchText(SearchSettings settings, string segment)
 {
     _provider.addStringToTries(segment);
     return(_provider.FileTM.GetLanguageDirection(_languageDirection).SearchText(settings, segment));
 }