<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - Provide NSSpellChecker spellChecking methods with the current insertion point"
   href="https://bugs.webkit.org/show_bug.cgi?id=155532#c13">Comment # 13</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - Provide NSSpellChecker spellChecking methods with the current insertion point"
   href="https://bugs.webkit.org/show_bug.cgi?id=155532">bug 155532</a>
              from <span class="vcard"><a class="email" href="mailto:bdakin&#64;apple.com" title="Beth Dakin &lt;bdakin&#64;apple.com&gt;"> <span class="fn">Beth Dakin</span></a>
</span></b>
        <pre>(In reply to <a href="show_bug.cgi?id=155532#c12">comment #12</a>)
<span class="quote">&gt; (In reply to <a href="show_bug.cgi?id=155532#c10">comment #10</a>)
&gt; &gt; That being said, I do not have a great understanding of any architectural
&gt; &gt; decisions guiding these WebCore classes. So if you think it's a
&gt; &gt; better/cleaner architecture here to stick to the offset, then I would be
&gt; &gt; happy to do that. Do you think that's better even if I add some additional
&gt; &gt; parameters in the future?
&gt; 
&gt; This is really a layering question.
&gt; 
&gt; Before this change, these functions were an abstract interface to spell
&gt; checking that was independent of the DOM. After the change, they are hooks
&gt; for spell checking that are not independent of the DOM.
&gt; 
&gt; I don’t have a strong feeling about which design is better, but I don’t like
&gt; place we have landed with the division of responsibilities where extracting
&gt; the text to spell check is a job for the caller, but interpreting the
&gt; selection position is a job for the spell checking functions. I’d prefer
&gt; that the work of extracting the text to spell check and the other contextual
&gt; information needed to correctly check from the DOM was either done entirely
&gt; by the caller or entirely by the spell checking functions.
&gt; 
&gt; This is not an urgent issue but nice to resolve in the longer term. We can
&gt; talk in person about this at some point.</span >

Sounds good! I'm happy to get this in a better place. Thanks for your input!</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>