Document Window Implementation
Although document windows and tool windows are both windows, they are implemented differently.
Tool windows are created by implementing CreateToolWindow. Document windows are created by implementing an editor. The IVsEditorFactory interface creates document windows as part of instantiating an editor. For more information, see Editors.
Note
To provide backward and forward navigation points in your window, implement the IVsBackForwardNavigation interface. The text editor uses text markers to identify navigation points in the integrated development environment (IDE).