Le 28/10/2024 à 06:08, Yokota K. a écrit :
Dear All,

I wrote a code to introduce OnTheSpot style in the input method and would like 
to hear how you think.

This looks very interesting. I have plenty of style comments, but I'd like first to understand what you are doing.

The main code goes into new InputMethod and GuiInputMethod classes but there 
are some modifications in other classes, notably Row, TextMetrics and 
GuiWorkArea. Ui files are modified as well, but their change is basically to 
add ImHints properties to the text inputs. Other modifications in Ui files are 
automatically made by the editor of QtCreator.

There is a little concern if I can safely remove a check around Line 1959 in 
Paragraph.cpp or relax the boundary around Line 762 in Row.cpp. They are 
changed since uncounted virtual preedit strings can push the character position 
beyond those boundaries.

This is the part I am interested in (unsurprisingly, I cannot comment much on the IM machinery itself).

Could you explain what happens with the positions in the paragraph when the preedit string is added? I'd like to understand the changes that you need to do.

Do you plan to allow to move cursor during preediting?
 JMarc
--
lyx-devel mailing list
lyx-devel@lists.lyx.org
https://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to