[PATCH] show preedit string

2004-01-16 Thread Kouhei Sutou
I made a patch for showing preedit string when using input method. Index: disp_callbacks.c === RCS file: /cvs/gnome/dia/app/disp_callbacks.c,v retrieving revision 1.73 diff -u -r1.73 disp_callbacks.c --- disp_callbacks.c2 Nov 20

Re: [PATCH] show preedit string

2004-01-16 Thread Kouhei Sutou
Sory, I noticed the patch which I sent before doesn't include all diff. I attach a collect patch. In <[EMAIL PROTECTED]> "[PATCH] show preedit string" on Fri, 16 Jan 2004 23:00:07 +0900 (JST), Kouhei Sutou <[EMAIL PROTECTED]> wrote: > I made a patch for showing p

Re: [PATCH] show preedit string

2004-01-21 Thread Kouhei Sutou
Is it not good? In <[EMAIL PROTECTED]> "Re: [PATCH] show preedit string" on Fri, 16 Jan 2004 23:28:12 +0900 (JST), Kouhei Sutou <[EMAIL PROTECTED]> wrote: > > I made a patch for showing preedit string when using input > > method. -- kou _

lib/text.c can't handle multibyte string correctly

2004-02-24 Thread Kouhei Sutou
Hi, Now, lib/text.c compares between utf - str (byte length) with strlen (UTF-8 string's length). Therefore, a multibyte string is inserted as string that has shorter length than strlen. -- kou Index: lib/text.c === RCS file: /cvs/

Re: chinese support glitches?

2004-03-04 Thread Kouhei Sutou
In <[EMAIL PROTECTED]> "chinese support glitches?" on Thu, 04 Mar 2004 17:25:52 +0800, Yao Heling <[EMAIL PROTECTED]> wrote: > the title etc. using chinese). But when I try to use a DiaText object, I > can't activate the XIM I'm using by pressing CTRL + Space (though I can This means that you

Re: chinese support glitches?

2004-03-05 Thread Kouhei Sutou
In <[EMAIL PROTECTED]> "Re: chinese support glitches?" on Fri, 05 Mar 2004 23:21:13 +0800, Yao Heling <[EMAIL PROTECTED]> wrote: > 2. Maybe it's because the XIM program (fcitx) I use doesn't support > gtk+'s immodule, so I tried to use uim; I installed quite a few uim No. You can use XIM which

Re: chinese support glitches?

2004-03-05 Thread Kouhei Sutou
Dia seems to ignore key states such as Control, Alt etc. (disp_callbacks.c -> ddisplay_canvas_events -> case GDK_KEY_PRESS) So you can't activate XIM by Control + Space and I can do by Shift + Space. Please try to change activation key of XIM to Shift + Space if you can. In <[EMAIL PROTECTED]>

Re: chinese support glitches?

2004-03-06 Thread Kouhei Sutou
In <[EMAIL PROTECTED]> "Re: chinese support glitches?" on Sun, 07 Mar 2004 01:40:27 +0800, Yao Heling <[EMAIL PROTECTED]> wrote: > Because all other chinese XIM I know of use "Ctrl + Space" to activate > (it's also the default under MS Windows) and I'd rather not change these > programs to use

Re: chinese support glitches?

2004-03-07 Thread Kouhei Sutou
In <[EMAIL PROTECTED]> "Re: chinese support glitches?" on Sun, 07 Mar 2004 08:57:54 +0100, Lars Clausen <[EMAIL PROTECTED]> wrote: > This patch breaks the ability to use Ctrl-arrowkey to scroll around the > diagram while editing, or Ctrl-{kp+,kp-} to zoom in and out while > editing. Not good.

Re: chinese support glitches?

2004-03-07 Thread Kouhei Sutou
In <[EMAIL PROTECTED]> "Re: chinese support glitches?" on Sun, 07 Mar 2004 11:06:04 +0100, Lars Clausen <[EMAIL PROTECTED]> wrote: > > +default: > > + if (kevent->string && 0 == strcmp(" ",kevent->string)) { > > +tool_select_former(); > > + } else { > > Ha