<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 - WK2: Request completion candidates when needed"
   href="https://bugs.webkit.org/show_bug.cgi?id=153040#c13">Comment # 13</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - WK2: Request completion candidates when needed"
   href="https://bugs.webkit.org/show_bug.cgi?id=153040">bug 153040</a>
              from <span class="vcard"><a class="email" href="mailto:ap&#64;webkit.org" title="Alexey Proskuryakov &lt;ap&#64;webkit.org&gt;"> <span class="fn">Alexey Proskuryakov</span></a>
</span></b>
        <pre>Comment on <span class=""><a href="attachment.cgi?id=268909&amp;action=diff" name="attach_268909" title="Patch">attachment 268909</a> <a href="attachment.cgi?id=268909&amp;action=edit" title="Patch">[details]</a></span>
Patch

View in context: <a href="https://bugs.webkit.org/attachment.cgi?id=268909&amp;action=review">https://bugs.webkit.org/attachment.cgi?id=268909&amp;action=review</a>

<span class="quote">&gt; Source/WebKit2/Shared/EditorState.cpp:131
&gt; +#if PLATFORM(MAC)
&gt; +    encoder &lt;&lt; candidateRequestStartPosition;
&gt; +    encoder &lt;&lt; paragraphContextForCandidateRequest;
&gt; +    encoder &lt;&lt; stringForCandidateRequest;
&gt; +#endif</span >

EditorState is a very unfortunate hack which cannot possibly result in reliable behavior.

Does the API require synchronous return? Can we request making it asynchronous?</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>