On Thu, 23 Jan 2003, Angus Leeming wrote:

>
> Excellent. Why don't you send this patch to the xforms list too.


I have not finished the work yet.


>That  means you've fixed two of the three problem areas. All that remains
> is the XmbLookupString mess and the 'linking problem'.
>

Yes, sort of ...


> Ie, the code in XWorkArea would become:
>         // Moving lyxim.LookupString into xforms means that we
>         // don't have to interrogate the raw XEvent any more.
>         case FL_KEYPRESS:
>         {
>                 KeySym keysym = event;
>                 int num_bytes = 0;
>                 char str[256];
>                 if (keysym == 0)
>                         // New xforms routine.
>                         fl_fill_composed_string(&num_bytes, str);
>
>                 if (!keysym && num_bytes)
>                         area->workAreaCJK_IMprocess(num_bytes,str);
>
>                 ...
>         }
> 
 

What does this "fi_fill_composed_string" do?


>                 
> Does this make sense?
> 

I think your idea will work at least for CJK-LyX.
   
Regards,

cghan

Reply via email to