Ollydbg, thanks a lot for advice
Inspired by your post I tried to handle EVT_LISTBOX event:
cbStyledTextCtrl* control = editor->GetControl();
control->Connect(wxID_ANY, EVT_LISTBOX,
(wxObjectEventFunction)&CodeCompletion::OnAutocompleteListbox,
NULL, this );
but event has never occurred. So I set breakpoint on wxScintilla::OnListBox, and find out that this method is never called! So I had to go deeper and I find that wxxcintilla doesn't use wxListBox but
wxListView, so I have to handle wxEVT_COMMAND_LIST_ITEM_SELECTED.
Now, all I need is documentation, but CC parser doesn't recognize them. Maybe parser should read xml generated by doxygen?
parsing comments in CC:
pros:
- builtin
- realtime parsing
cons:
- not implemented
reading from xml:
pros:
- xml is easy to read
- can read external documentation( user will only specify patches to it)
cons:
- user must have already generated docs
What you think, what will be better?