<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [GTK][WK2] Expose GtkIMContext"
   href="https://bugs.webkit.org/show_bug.cgi?id=150390#c5">Comment # 5</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [GTK][WK2] Expose GtkIMContext"
   href="https://bugs.webkit.org/show_bug.cgi?id=150390">bug 150390</a>
              from <span class="vcard"><a class="email" href="mailto:tpopela&#64;redhat.com" title="Tomas Popela &lt;tpopela&#64;redhat.com&gt;"> <span class="fn">Tomas Popela</span></a>
</span></b>
        <pre>(In reply to <a href="show_bug.cgi?id=150390#c3">comment #3</a>)
<span class="quote">&gt; Instead of exposing internal API, it would be worth considering how we can
&gt; expose  API to accomplish everything you need.</span >

OK, so we need to add two signals (the best place for it from Evolution' POV would be the WebProcess especially the WebKitWebEditor, but I didn't look if it is possible yet) that will mimic the GtkIMContext' preedit-start[0] and preedit-end signals[1].

The last thing was the gtk_im_multicontext_append_menuitems[2] functionality, but we decided that we won't include that code in WK2 port of Evolution.


[0] - <a href="https://developer.gnome.org/gtk3/stable/GtkIMContext.html#GtkIMContext-preedit-start">https://developer.gnome.org/gtk3/stable/GtkIMContext.html#GtkIMContext-preedit-start</a>
[1] - <a href="https://developer.gnome.org/gtk3/stable/GtkIMContext.html#GtkIMContext-preedit-end">https://developer.gnome.org/gtk3/stable/GtkIMContext.html#GtkIMContext-preedit-end</a>
[2] - <a href="https://developer.gnome.org/gtk3/stable/GtkIMMulticontext.html#gtk-im-multicontext-append-menuitems">https://developer.gnome.org/gtk3/stable/GtkIMMulticontext.html#gtk-im-multicontext-append-menuitems</a></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>