2010/4/22 Chunlin Zhang <[email protected]>: > 2010/4/22 limodou <[email protected]>: >> 感谢。我在你的基础之上进行了修改,主要修改如下: >> >> 1. 设置为核心功能,因为比较简单而且可能有用,因此不采用插件的方式。 >> 2. 修改Editor.py,增加一个guess_lang的entry point,这样可以有机会通过plugin来猜测language >> 3. 增加mGuessLang.py,对你提供的代码进行了简单处理 >> 4. 将新增的mGuessLang.py添加到mixins/__iniit__.py中,以#import mGuessLang的形式 > > 嗯,这样实现更好 > > 另外你在 svn 上没有增加 mGuestLang.py,还是我理解错了,在 Import.py 里加了就好了? >
我给漏了,不过应该不影响,因为内容会自动进入到Import.py中。 -- I like python! UliPad <<The Python Editor>>: http://code.google.com/p/ulipad/ UliWeb <<simple web framework>>: http://uliwebproject.appspot.com My Blog: http://hi.baidu.com/limodou -- Subscription settings: http://groups.google.com/group/ulipad/subscribe?hl=en
