Quantcast
Channel: Visual Studio Integrate forum
Viewing all articles
Browse latest Browse all 4410

MEF Editor Extension: AdornmentLayer & breakpoints

$
0
0

Hi there,

I'm developing a VS2010/VS2012 Editor extension. Currently I'm highlighting a block of lines via adornment layer. However I can't figure out how to force my highlighting to go beneath red breakpoint highlighting. It always turns out to be above. I've tried changing the Order attribute of my exported adornment layer, but I don't know on which layer (if any) breakpoint highlightings are placed. Currently I'm exporting my layer like this:

        [Export(typeof(AdornmentLayerDefinition))]

        [Name("HighlightedLines")]

        [Order(Before = PredefinedAdornmentLayers.TextMarker)]

        [TextViewRole(PredefinedTextViewRoles.Document)]

        public AdornmentLayerDefinition EditorAdornmentLayer;

I'd post an image but I'm not allowed yet. I'd really appreciate any help, though!


Viewing all articles
Browse latest Browse all 4410

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>