There has been a few threads talking about how to create and use fileless editors - some of the suggestions were to use a toolwindow or use a custom editor that can hold the data in memory.
I used IVsUIShellOpenDocument.OpenDocumentViaProjectWithSpecific function and that seems to work for a custom editor - say the sample rich text editor. However, I would like to use the inbuilt Text editor used for editing C# or VB.
The main issue I am seeing is related to IVsPersistDocData and IPersistFileFormat.
Is there a way that we can use the inbuilt text editor in a fileless scenario? Also, is there a way to extend the inbuilt text editor so that we can make changes?