Getting help on wxWindow in your favorite editor. How?

Hi,
All of us is using some kind of editor
for creating source code.
Is it possible in your favorite editor
to press the button on current word under cursor
and get nice help (well, may be just text)
_especially_ on wxWindow objects and methods?

I'm looking for ways to "attach" such a feature to my favorite
editor (Vim if it matters).

P.S.
By the way i have Vim syntax highlighting file which
defines almost all wxPython specific items,such as methods,
standard classes,flags .
If you need it - let me know. I can mail it.

Thanks for your answers!

···

--
Igor.

Hi Igor,

All of us is using some kind of editor
for creating source code.
Is it possible in your favorite editor
to press the button on current word under cursor
and get nice help (well, may be just text)
_especially_ on wxWindow objects and methods?

I haven't quite got what you're looking for, but I do have something similar -- I'm a keen 'vim' user, and have created a vim plugin called "PyHelp" which displays Python reference information using the same sort of file structure as the built-in vim help files.

I've converted the Python library reference to a PyHelp file -- and more relevant to you, I've also converted the wxPython reference manual to a PyHelp file as well. As a bonus, my conversion routine also converts the C++-oriented wxPython docs into a Python-oriented version, so that instead of seeing, eg:

   wxWindow(wxWindow* parent, wxWindowID id, const wxPoint& pos = wxDefaultPosition,
            const wxSize& size = wxDefaultSize, long style = 0,
            const wxString& name = wxPanelNameStr)

for the wxWindow constructor, you see instead:

   wxWindow.__init__(parent, id, pos=wxDefaultPosition, size=wxDefaultSize, style=0,
                     name=wxPanelNameStr)

[My conversion classes also generate this help info in HTML format, in case anyone else listening in is interested in Python-specific docs for wxPython].

As I say, this isn't quite what you're looking for, as it doesn't highlight the word under the cursor, but you can type:

         :PyHelp wxWindow.__init__

to jump to the definition of this method. I find it very easy to use Vim's built-in search capability to jump to a desired definition -- far easier than using the help files that come with wxWindows, that's for sure!

Anyway, if you or anyone else is interested in PyHelp (or the plain HTML version of the wxPyhon docs converted to Python rather than C++), just sing out.

I'm no expert in creating Vim plugins, by the way -- so I'm sure you could convert PyHelp to do what you wanted, if you're keen.

P.S.
By the way i have Vim syntax highlighting file which
defines almost all wxPython specific items,such as methods,
standard classes,flags .
If you need it - let me know. I can mail it.

Yes please!

Cheers,

  - Erik.

Cool , where can i find that?
I very rarely use C++ with wxWindows now a days(Python is faster to program) but have only C++ documentation.

···

On Tue, 18 Nov 2003 08:55:08 +1300 Erik Westra <ewestra@wave.co.nz> wrote:

C++-oriented wxPython docs into a Python-oriented version, so that instead
of seeing, eg:

   wxWindow(wxWindow* parent, wxWindowID id, const wxPoint& pos =
wxDefaultPosition,
            const wxSize& size = wxDefaultSize, long style = 0,
            const wxString& name = wxPanelNameStr)

for the wxWindow constructor, you see instead:

   wxWindow.__init__(parent, id, pos=wxDefaultPosition, size=wxDefaultSize,
style=0,
                     name=wxPanelNameStr)

[My conversion classes also generate this help info in HTML format, in case
anyone else listening in is interested in Python-specific docs for wxPython].

In Monday, November 17, 2003, 4:55:08 PM, Erik wrote:

(...)
Anyway, if you or anyone else is interested in PyHelp (or the
plain HTML version of the wxPyhon docs converted to Python rather
than C++), just sing out.

Yes I am. Where can I find them?

TIA

-- Tacão

Hi Igor,

Hi,Eric!

similar -- I'm a keen 'vim' user, and have created a vim plugin called
"PyHelp" which displays Python reference information using the same sort of
file structure as the built-in vim help files.

Can i have this plugin?

I've converted the Python library reference to a PyHelp file -- and more
relevant to you, I've also converted the wxPython reference manual to a
PyHelp file as well.

... and files would be nice too!

         :PyHelp wxWindow.__init__

Looks good for me. Can you send it to me?
Or may be upload it somewhere.
I've checked your uploaded HTML files. Would be nice to have 'Vim'
version.

Yes please!

Did you get my email?
If no - let me know.
Thanks in advance.

···

--
Igor.
                         mailto:igor@tyumbit.ru

Hi Igor,

Looks good for me. Can you send it to me?
Or may be upload it somewhere.
I've checked your uploaded HTML files. Would be nice to have 'Vim'
version.

Sorry, I was tied up with work today...finally getting a chance to upload this evening.

I've uploaded the "Vim" version of the wxPython reference (actually, the entire "PyHelp" package) at:

         http://dnet.com/erik/PyHelp.zip

And the program which generates the Python-specific version of the wxPython docs at:

         http://dnet.com/erik/wxPython-doc-converter.zip

I'm more than happy for anyone to have a play with the converter -- if you find any bugs, have any suggestions for improvement, or even just find it remotely useful, please let me know!

Cheers,

  - Erik.

PS: Thanks for the copy of your wxPython syntax file. It looks great!

I've uploaded the "Vim" version of the wxPython reference (actually, the
entire "PyHelp" package) at:

Eric,it's COOL!
:slight_smile:
I've downloaded and installed your plugin.
It works seamlessly.
Now i can have help quick and easy way!
Thank you again!
P.S.
I think you are a very good programmer.

···

--
Igor.