SlickEdit
- Search->Tag Files...
- Selected the cpp.vtg tag file
- Clicked on the "Add Tree" button
- Browsed to my wxWidgets2.4.2/includes/wx directory and started the process
After that I opened up a cpp file and typed:
<code>wxClientDC *tempDC = new wxClientDC(</code>
at that point it told me about 2 possible constructors which is what was already working for you.
I finished that line (<code>wxClientDC *tempDC = new wxClientDC();</code>) and then typed:
<code>tempDC-></code>
and at that point it brought up all of the methods I could chose from.
Jim added:
This works for quite a bit of wxWidgets, but Slickedit does get confused by some of the preprocessor #defines that wxWidgets uses. I found the following to help quite a bit:
- From the menu choose: Search - Tag Files - Options button
- Click on the C Preprocessing button at the bottom
- Map 'WXUNUSED(identifier)' to 'identifier'
- Use the New button to map 'WXDLLEXPORT' to '' (keep the edit box empty)
What this effectively does is changes WXDLLEXPORT to an empty string and removes WXUNUSED( ) from around function arguments. Slickedit will be able to context-tag everything even if it is preceeded or wrapped with these macros it doesn't understand.