VsixCommunity / Community.VisualStudio.Toolkit

Making it easier to write Visual Studio extensions
Other
260 stars 44 forks source link

Add virtual property TextMarkerTagType for SameWordHighLighterBase th… #365

Closed RobertvanderHulst closed 2 years ago

RobertvanderHulst commented 2 years ago

…at can be overwritten in a subclass to use a different TextMarkerdefinition, so the colors of the TextMarkers can be changed in a subclass.

Defaults to the old value of "MarkerFormatDefinition/HighlightWordFormatDefinition"

RobertvanderHulst commented 2 years ago

Mads, This is an internal type. I was wondering why the constructor was public. That did not make sense to me. I did not want to change that. But I do not think there is a risk of breaking anything because of the visibility.

madskristensen commented 2 years ago

Makes sense. Thanks!