On Wed, Feb 4, 2009 at 8:46 PM, Mapache <[email protected]> wrote: > > Hi, > > Thanks for the quick response > >> >> I don't know what you mean? And I found a bug: >> >> the line >> >> os.startfile(os.path.join('/home/mapache/dev/ulipad/trunk/plugins/phpdoc', >> 'wx.chm','php_manual_en.chm')) >> >> is not correct. os.path.join will combine stuff into one path, so >> above code will produce: >> >> /home/mapache/dev/ulipad/trunk/plugins/phpdoc/wx.chm/php_manual_en.chm >> >> I think you should remove the wx.chm, just like: >> >> os.startfile(os.path.join('/home/mapache/dev/ulipad/trunk/plugins/phpdoc', >> 'php_manual_en.chm')) >> >> and startfile receices a normal path, so just write the right path is >> enough, even don't need to use os.path.join(). >> > > I have just fixed the bug... but it doesn't work :( > > What I'm trying to do is a pluging that when you type into a php file: > > echo( > > Ulipad shows the reference of echo function like when you type into a > python file (with pythondoc plugin enabled) : > > wx.MessageBox( > > Ulipad shows: > > MessageBox(String message, String caption.... > > This is the pythondoc plugin behavior, Isn't it? > > Thanks in advance > Mapache
No, pythondoc will simple add new menu items to ulipad, and cann't provide code completion feature. For code completion you can see document howto_input_assistant.htm and the great document http://simiansector.com/ulipad-notes/index.html. But it's difficult I must to say. -- I like python! UliPad <<The Python Editor>>: http://code.google.com/p/ulipad/ UliWeb <<simple web framework>>: http://uliwebproject.appspot.com My Blog: (new)http://http://hi.baidu.com/limodou (old)http://www.donews.net/limodou
