2007/4/1, Abdelrazak Younes <[EMAIL PROTECTED]>:
OK Iwami, I've checked in a modified verion of your patch. Basically,
I've fixed some typo, add some more comments following my understanding
(please verify), simplify the code where I could (I think nested if/loop
are hard to follow, so I've simplified that).
I don't think I've introduced errors but please verify.
OK Abdel, I've checked your modify.
And I checked operating satisfactorily.
By the way, following text is describe some variables.
Thanks.
M. Iwami
Index: src/frontends/qt4/GuiWorkArea.C
===================================================================
--- src/frontends/qt4/GuiWorkArea.C (revision 17673)
+++ src/frontends/qt4/GuiWorkArea.C (working copy)
@@ -634,7 +634,13 @@
return;
}
- // FIXME: Describe these variables.
+ // last_width : for check last preedit strings is/isn't empty.
+ // cur_pos : cursor position in preedit string of input method
(following IM).
+ // rStart : cursor position of selecting in IM.
+ // rLength : selecting strings length in IM.
+ // cur_visible : if cur_visible is 1, cursor (in IM) is visible.
+ // if cur_visible is 0, cursor (in IM) isn't visible.
+ // att : stores an IM attribute.
last_width = 1;
size_t cur_pos = 0;
size_t rStart = 0;