Thanks for the modification! That helped me as well. I noticed that you also need to change the implementation of HighlightTextRenderer.RegisterNewFilter to use ITextMatchFilter instead of TextMatchFilter. Otherwise an object implementing ITextMatchFilter will never be installed in HighlightTextRenderer. For me the following code works: internal void RegisterNewFilter(IModelFilter newFilter) { ITextMatchFilter textFilter = newFilter as ITextMatchFilter; if (textFilter != null) { Filter = textFilter;...
Thanks for the modification! That helped me as well. I noticed that you also need to change the implementation of HighlightTextRenderer.RegisterNewFilter to use ITextMatchFilter instead of TextMatchFilter. Otherwise an object implementing ITextMatchFilter will never be installed in HighlightTextRenderer. For me the following code works: internal void RegisterNewFilter(IModelFilter newFilter) { ITextMatchFilter textFilter = newFilter as ITextMatchFilter; if (textFilter != null) { Filter = textFilter;...