title: "Can't set data buffer before setting document buffer." for IVsTextLines
body: <p>In my VSIX project this error is shown on the line:</p>
  <pre class="lang-cs prettyprint-override"><code>(AdapterService as IVsEditorAdaptersFactoryService).SetDataBuffer(textLines, projBuffer as IProjectionBuffer);
  </code></pre>
  <p>where <code>textLines</code> is created using <code>CreateInstance</code> method of my package</p>
  <pre class="lang-cs prettyprint-override"><code>Type textLinesType = typeof(IVsTextLines);
  Guid riid = textLinesType.GUID;
  Guid clsid = typeof(VsTextBufferClass).GUID;
  IVsTextLines textLines = (_package as Package).CreateInstance(ref clsid, ref riid, textLinesType) as IVsTextLines;
  </code></pre>
  <p>What actually is <code>DocumentTextBuffer</code> property and how do I set it on a newly instantiated <code>IVsTextLines</code>? <br />
  What I am trying to do is create a <code>IVsTextLines</code> to pass it as a buffer to <code>IVsCodeWindow</code>.</p>