What WPF element was used for the Visual Studio Code Editor?

According to this post, Visual Studio has been rewritten using WPF. I am trying to figure out which element is used for the code editor window (in particular, C #, if there is a difference), but I cannot figure out which element can have all this functionality (obviously, with a lot of additional work. More ...) .

I want to know what it is that I can experiment with writing my own small code editor. (Yes, I know that a full-fledged editor is a very large project. I'm talking about a simple user version.)

+5
source share
1 answer

After a quick Snoop, I see that the base element is: Microsoft.VisualStudio.Text.Editor.Implementation.WpfTextView , so this is a very common task.

I don't know what access you can get in the libraries, but there is documentation around the namespace here:

https://msdn.microsoft.com/en-GB/library/microsoft.visualstudio.text.editor.aspx

+7
source

All Articles