Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

input method: the candidate window do not follow the cursor #1513

Open
sinpowei opened this issue Jun 10, 2017 · 4 comments
Open

input method: the candidate window do not follow the cursor #1513

sinpowei opened this issue Jun 10, 2017 · 4 comments

Comments

@sinpowei
Copy link
Contributor

i'm using arch linux. when i input chinese with ibus or fcitx, the candidate window do not follow the cursor. there is a similar issue submitted by a mac os user (#920).

i checked scintilla's code and found an option named “SCI_SETIMEINTERACTION” can fix this issue, by add:
SSM(sci, SCI_SETIMEINTERACTION, 1, 0);
into editor.c file's "static ScintillaObject *create_new_sci(GeanyEditor *editor) " function.
i compiled a patched version, and it works perfectly for me.

maybe you can add this in new release, or give a preference item let user choose.

@elextr
Copy link
Member

elextr commented Jun 10, 2017

If you have a patch why not make a pull request, preferably as you say with an option for the two IME methods offered by Scintilla.

@sinpowei
Copy link
Contributor Author

sinpowei commented Jun 10, 2017

@elextr, My patch is just one line inserted into create_new_sci 's initialization code for self using, maybe you prefer give user an option (i see scite has one), but i'm not familiar with those stuff (preference storage, gtk2 dialog, etc.) geany use.

@elextr
Copy link
Member

elextr commented Jun 10, 2017

Geany is a contributor run project, things will only get added if a contributor wants to do so and makes a pull request. Since most of the Geany contributors are not fluent in any of the CJK languages where IME is used, they are unlikely to make such a change themselves, and if they do, they then are unlikely to know if the change is working or not, since they can't test it since they don't know how IMEs work.

So for this to happen it needs someone who understands and can test it to provide exactly what the changes are, in other words a pull request.

@sinpowei
Copy link
Contributor Author

Ok, I'll try to make a pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants