Fix exception at design time while editing XAML.
Fix detection of elission and projection buffers in DevMargin and plain text completion source