I think maybe '[' is the same with [section], so UliPad may treat it
as a beginning of a section, and I'll try to fix it.
Thanks.
--
I like python!
UliPad <<The Python Editor>>: http://code.google.com/p/ulipad/
meide <<wxPython UI module>>: http://code.google.com/p/meide/
My Blog: http://www.donews.net/limodou
KEYS = {'<space>':' ', '<equal>':'=', '<div>':'/', '<square>':'['}
so '[' should be '<square>', try it.
1. Notices
* The acp file is an ini-like format file
* The `key` can not include equal symbol(`'='`), if you want to
use it you should
use escape string <equal>
* There are serval escape string like <equal> for now they are::
'=' <equal>
'\t' <tab> ;but it's some problems for now
'/' <div>
' ' <space>
'[' <square>
* The `key` is just a pattern, and when you press a keystroke, if
it matches the last
character of a key, then the value of this key will replace or
append or popup a list
for current input word. For example, there is a key pattern
`def<space>`, when you
entered `def` string, and press space keystroke, it will match
the `def<space>` pattern,
so the InputAssistant will take place.
* There are three kind of results: replace, append and popup a list.
* If the `value` is defined as a list, when InputAssistant taking
place it'll popup a list,
and let user to choose one.
这个我再查一下,的确很难查,一直都没有查出来为什么。
>
> 3、ulipad和fcitx还是存在兼容性问题。
> 主要表现在ulipad中可以输入汉字,但是不能选择第二个字(如有5个同音字,键入3可以选择第三个,但唯独不能选择第二个,输入2,没反应)。再一个就是如果正在输入拼音,如pinyin,但输成了piuyin,想用bksp键删除,但这删除的不是拼音行上的内容及piuyin,而是删成了ulipad编辑文件的内容。fcitx输入法在unbuntu
> 自带的文本编辑器和openoffice中使用这些没有问题。
>
>
> 写到这突然想到,2和3的现象会不会是同一个问题呢?
>
> 启动时的信息
> begin... 19:37:08
> (python:7772): Gtk-WARNING **:
> /build/buildd/gtk+2.0-2.12.0/gtk/gtkwidget.c:4249: no accelerator (114,4)
> installed in accel group (0x8ae9d00) for GtkImageMenuItem (0x8ae7f08)
> (python:7772): Gtk-WARNING **:
> /build/buildd/gtk+2.0-2.12.0/gtk/gtkwidget.c:4249: no accelerator (102,4)
> installed in accel group (0x8ae9d00) for GtkImageMenuItem (0x8ae7e38)
> (python:7772): Gtk-WARNING **:
> /build/buildd/gtk+2.0-2.12.0/gtk/gtkwidget.c:4249: no accelerator (113,4)
> installed in accel group (0x8aad1c0) for GtkImageMenuItem (0x8acb480)
> end... 19:37:12
>
每次启动都有,但是看不出是什么错误。输秒法可能与wxPython本身有关。你可以试一下wxPython
demo中的stc的例子,好象也是这样的。使用scim试试。