Editor fundamentals: Text-Relative Adornments

Tagging along with the last editor fundamentals post on the pull/event model, today’s article is the application of that model to handling text-relative adornments. The adornment “manager” Within the editor, we use a fairly common pattern for structuring adornments. There are essentially two components: First, a view creation listener (IWpfTextViewCreationListener), keyed off a ContentType and…

0

Editor fundamentals: Push vs. Pull

(This is a new series I plan to write in occasionally, where I’ll talk more generally about some of the design fundamentals of the editor and best practices for extensions) One of the things I learned early on, probably incorrectly, is that you can look at how components communicate and basically split the common patterns…

3