### Summary of the changes
LspEditorFeatureDetector wasn't using project to detect whether LSP or Legacy editor needs to get used a result of !10490. This change restores usage of project capabilities to detect if project supports LSP editor, and fixes legacy editor usage in .Net Framework projects.
### Summary of the changes LspEditorFeatureDetector wasn't using project to detect whether LSP or Legacy editor needs to get used a result of !10490. This change restores usage of project capabilities to detect if project supports LSP editor, and fixes legacy editor usage in .Net Framework projects.
Fixes: C# spans in legacy Razor editor were completely broken. Initially found as Microsoft internal issue https://devdiv.visualstudio.com/DevDiv/_workitems/edit/2094212.