title: Retrieve selected text in GeckoWebBrowser
body: <p>I am using GeckoFX with C#.NET. Some text in the page can be selected. This text is composed of one or more DOM elements. I want to retrieve the selected text in the page.</p>
  
  <p><strong><em>geckoWebBrowser.Window.Selection</em></strong> is an accessor for a GeckoSelection object which contains some informations such as </p>
  
  <ul>
  <li><p><strong><em>AnchorOffset</em></strong>: <em>offset within the (text) node where the selection begins</em>,  </p></li>
  <li><p><strong><em>FocusOffset</em></strong>: <em>offset within the (text) node where the selection ends</em>.</p></li>
  </ul>
  
  <p>I can't find how to get all the nodes &amp; offset where selection starts and ends, or how can I can get a range of all elements spanned by the selection. </p>
  
  <p>How can I do this?</p>