Re: Can't track flow of characters in from Input Method Editor

2015-10-08 Thread Richard Wordingham
On Thu, 08 Oct 2015 10:18:15 +0100 Caolán McNamara wrote: > On Thu, 2015-10-08 at 08:52 +0100, Richard Wordingham wrote: > > The intent of the call is to delete one Unicode character; On reading the GTK documentation, it is clear that the arguments are in terms of Unicode characters, and not UTF

Re: Can't track flow of characters in from Input Method Editor

2015-10-08 Thread Caolán McNamara
On Thu, 2015-10-08 at 08:52 +0100, Richard Wordingham wrote: > The intent of the call is to delete one Unicode character; I imagine you need to change signalIMDeleteSurrounding where we have nDeletePos = nPosition + offset and nDeleteEnd = nDeletePos + nchars and instead of adding "offset" and add

Re: Can't track flow of characters in from Input Method Editor

2015-10-08 Thread Richard Wordingham
On Thu, 8 Oct 2015 01:17:14 +0100 Richard Wordingham wrote: > Thank you all for your inputs. I've finally found where the problem materialises. There is a callback of GtkSalFrame::IMHandler::signalIMDeleteSurrounding() to delete one 'character'. I now need to work out where the interfacing is

Re: Can't track flow of characters in from Input Method Editor

2015-10-07 Thread Richard Wordingham
Thank you all for your inputs. On Wed, 7 Oct 2015 09:57:14 +0200 Miklos Vajna wrote: > Writer "main text" gets all keyboard input in SwEditWin::KeyInput(), > sw/source/uibase/docvw/edtwin.cxx. It's VCL that calls that member > function, and in your case it's probably the VCL KDE backend in > par

Re: Can't track flow of characters in from Input Method Editor

2015-10-07 Thread Hung Mark
Hi , Since you mentioned that Writer exhibit the problem but Calc doesn't,you might want to take a look at sw/source/core/doc/extinput.cxx. If you're looking for IME code from vcl, I suggest that you grep InputContext as a keyword. 2015-10-07 5:51 GMT+08:00 Richard Wordingham < richard.wording

Re: Can't track flow of characters in from Input Method Editor

2015-10-07 Thread Jan-Marek Glogowski
Am 06.10.2015 um 23:51 schrieb Richard Wordingham: > On Sunday I raised bug report 94753 about the apparent generation of > lone surrogates in response to the use of Keyman for Linux under ibus > as the input method editor. I have compiled Version 4.4.4.3.0+ with > debug to facilitate my investigat

Re: Can't track flow of characters in from Input Method Editor

2015-10-07 Thread Miklos Vajna
Hi Richard, Writer "main text" gets all keyboard input in SwEditWin::KeyInput(), sw/source/uibase/docvw/edtwin.cxx. It's VCL that calls that member function, and in your case it's probably the VCL KDE backend in particular. Regards, Miklos signature.asc Description: Digital signature _

Can't track flow of characters in from Input Method Editor

2015-10-06 Thread Richard Wordingham
On Sunday I raised bug report 94753 about the apparent generation of lone surrogates in response to the use of Keyman for Linux under ibus as the input method editor. I have compiled Version 4.4.4.3.0+ with debug to facilitate my investigation; I think my compiler (gcc Version 4.6.3) is too old to