编辑“︁
IBus
”︁(章节)
跳转到导航
跳转到搜索
Template:Editnotice load/content
警告:
您没有登录。如果您进行任何编辑,您的IP地址会公开展示。如果您
登录
或
创建账号
,您的编辑会以您的用户名署名,此外还有其他益处。
反垃圾检查。
不要
加入这个!
=== ibus-table === ibus-table 為余鈺煒所開發,針對查表型輸入法所設計的碼表輸入引擎。許多輸入法,不需要像是 ibus-chewing 或是 ibus-pinyin 之類的複雜選字演算法,只需要一個對照表即可運作<ref>{{Cite web |url=http://code.google.com/p/ibus/wiki/TableReadme |title=ibus-table README (in Chinese and English) |accessdate=2009-05-12 |archive-date=2009-03-18 |archive-url=https://web.archive.org/web/20090318033541/http://code.google.com/p/ibus/wiki/TableReadme |dead-url=no }}</ref>。許多[[字形輸入法]]像是倉頡輸入法及五筆輸入法都由 ibus-table 所支援。 [[File:IBus Ubuntu 12.04.1 LTS CHT.png|thumb|200px|right|在Ubuntu 12.04.1 LTS使用IBus 1.4.1(倉頡第五代)及其偏好設定]] 官方釋出的碼表<ref>{{Cite web |url=http://code.google.com/p/ibus/downloads/list |title=IBus Google Downloads |accessdate=2009-05-12 |archive-date=2009-03-01 |archive-url=https://web.archive.org/web/20090301024921/http://code.google.com/p/ibus/downloads/list |dead-url=no }}</ref>: * latex: 使用 latex 語法來輸入特殊符號,ibus-table 自帶 * compose: 使用 compose letter 及 diacritical mark 來輸入特殊字元,ibus-table 自帶。 * Array30: [[行列輸入法|行列30輸入法]]。 * Cangjie: [[倉頡輸入法|倉頡]]及速成、三代及五代。 * Erbi: [[二筆輸入法]]。 * Wubi: [[五筆輸入法]]。 * Yong: [[永碼輸入法]]。 * ZhengMa: [[鄭碼輸入法]]。 {{hideh|一些table.py手動修改}} 1.可選字由預設的1頁6個換成主流的1頁9個 尋找 <code>_page_size = 6</code> 修改為 <syntaxhighlight lang="python"> _page_size = 9 </syntaxhighlight> 2.空白鍵跳下一頁選字 尋找 <code>elif key.code == keysyms.space:</code> 將下面的 <syntaxhighlight lang="python"> o_py = self._editor._py_mode sp_res = self._editor.space () #return (KeyProcessResult,whethercommit,commitstring) if sp_res[0]: self.commit_string (sp_res[1]) #self.add_string_len(sp_res[1]) self.db.check_phrase (sp_res[1], sp_res[2]) else: if sp_res[1] == u' ': self.commit_string (cond_letter_translate (u" ")) if o_py != self._editor._py_mode: self._refresh_properties () self._update_ui () return True </syntaxhighlight> 換成 <syntaxhighlight lang="python"> res = self._editor.page_down() self._update_lookup_table () return res </syntaxhighlight> 3.backspace鍵 跳上一頁選字 尋找<syntaxhighlight lang="python"> elif key.code == keysyms.BackSpace: </syntaxhighlight> 將下面的 <syntaxhighlight lang="python"> res = self._editor.backspace () self._update_ui () </syntaxhighlight> 取代為 <syntaxhighlight lang="python"> res = self._editor.page_up () self._update_lookup_table () </syntaxhighlight> 4.單一個碼空白鍵自動選字,數字鍵區選字 尋找 <syntaxhighlight lang="python"> if key.mask & modifier.RELEASE_MASK: return True if self._editor.is_empty (): </syntaxhighlight> 於<code> return True </code>與 <code>if self._editor.is_empty (): </code>之間 新增 <syntaxhighlight lang="python"> if key.code>=65457 and key.code<=65465 : key.code-=65408 elif key.code == keysyms.space and len(self._editor._chars[0])==1: key.code=keysyms._1 </syntaxhighlight> {{hidef}}
摘要:
请注意,所有对Local Chinese Wikipedia的贡献均可能会被其他贡献者编辑、修改或删除。如果您不希望您的文字作品被随意编辑,请不要在此提交。
您同时也向我们承诺,您提交的内容为您自己所创作,或是复制自公共领域或类似自由来源(详情请见
Project:著作权
)。
未经许可,请勿提交受著作权保护的作品!
取消
编辑帮助
(在新窗口中打开)
导航菜单
个人工具
未登录
讨论
贡献
创建账号
登录
命名空间
页面
讨论
大陆简体
不转换
简体
繁體
大陆简体
香港繁體
澳門繁體
大马简体
新加坡简体
臺灣正體
查看
阅读
编辑
查看历史
更多
搜索
导航
首页
最近更改
随机页面
MediaWiki帮助
工具
链入页面
相关更改
特殊页面
页面信息