Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: Alpha on November 14, 2013, 03:38:15 pm

Title: Cached wx documentation for CC
Post by: Alpha on November 14, 2013, 03:38:15 pm
Because wxWidgets supplies their documentation separately from the source, CC is unable to display the documentation in popups.  I dumped much of the documentation into cc_wx_doc.xml.7z (http://sdrv.ms/1crT7Mi) (Edit: See next post.), so extract the XML, put it in ~/.codeblocks/share/codeblocks/codecompletion/cc_wx_doc.xml or %AppData%\CodeBlocks\share\codeblocks\codecompletion\cc_wx_doc.xml and apply the attached patch.

Completely experimental patch, but it has had reasonable results for me, so far.
Title: Re: Cached wx documentation for CC
Post by: dmoore on November 14, 2013, 03:45:11 pm
I haven't applied the patch, but very nice idea. One request: rename AppendDocumentation to AppendwxWidgetsDocumentation, or better yet AppendExternalDocumentation and make it GUI configurable to add other xml docs (assuming that such things exist in a standard format, otherwise don't worry about it)
Title: Re: Cached wx documentation for CC
Post by: Alpha on November 15, 2013, 02:56:03 am
Yes, currently this is just a quick hack of mine :) (because I was annoyed at switching tabs/windows too much).  I will try to clean it up a bit over the weekend.

Updated XML to address a few issues cc_wx_doc.xml_2.7z (http://sdrv.ms/HWpMRu).