Is there a way to set the scope of a text region of a view? My plug-in wants to syntax highlight the text it generated? I don’t need to set an arbitrary color, but just set the scope of the text in a region.
add_regions() kind of does this, but the colors seem to be inverted.
I want to take a region and assign it the scope ‘string’ (for example) and have it color coded like a string in my colors file.