我的Emacs编辑器不能使用ibus中文输入法,当光标在Emacs上时,ibus显示“没有输入窗口”。
我使用LC_CTYPE="zh_CN.UTF-8" emacs这样的别名运行Emacs,它以前确实可以工作,但我不知道为什么它现在不能工作,可能是系统更新。
关于我的系统: Gentoo Linux with Gnome3,我安装了Emacs23和Emacs24,它们现在都不能与ibus一起工作。
注: Ibus可以在其他程序上运行,Emacs可以很好地显示汉字。
我一直在尝试运行google的示例输入法,但没有成功。问题是,它甚至没有执行。正如您在下面的代码中看到的,console.log应该至少给我一行反馈,而不是:
var context_id = -1;
// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
var ime_api = chrome.input.ime;
我将创建一个名为“高棉键盘输入法”的应用程序,高棉刚进入unicode标准(范围:1780-17FF)。
参考
此应用程序将允许柬埔寨人按下已定义的快捷键(例如F10),从英语切换到高棉语。我将改进GUI的应用程序。
例如
if keypress is 'k':
return unicode(u'\u1780')#KHMER LETTER KA
if keypress is shift+k or is 'K':
return unicode(u'\u1782')#KHMER LETTER KO
#........
我扩展了InputMethodService,希望使用这个服务来显示软键盘,即使连接了硬键盘(基于下面的帖子)。有没有一种方法可以在应用程序中绑定到这个服务,而不必在清单中声明它?最终结果是让InputMethodService.onEvaluateInputViewShown返回true,这样即使连接了硬键盘,软键盘也会显示出来。
我想通过show/hideSoftKeyboard中的inputmethodmanager管理器来使用扩展类MultiInputMethodService:
public class MultiInputMethodService extends InputMet