Fixed disabled line marker provider; refactored IElementType checks.