Author Topic: Help plugin, default keyword and keyword case  (Read 3055 times)

Offline yop

  • Regular
  • ***
  • Posts: 387
Help plugin, default keyword and keyword case
« on: July 29, 2007, 09:55:19 pm »
I 've uploaded Patch #2114 in Berlios that changes the handling of the keyword used in the help plugin:

  • Added setting for selecting the case of the keyword when replacing
  • Added a "default keyword" setting

So what is the reasoning behind all this:
In linux it is impossible to work with html help files using the keyword substitution in a situation where the "keyword" is in different case in the filename than in the code. Let's say in wxWidgets:
wxString -> (some path)/wx2.8-manual_wxstring.html#wxstring, so the keyword has to be turned to lower case. The same is true also for Qt.

As for the default keyword, let's say you want to have the keyword functionality but you also want to view the index/main page of your help files. Now you have to prepare two different inputs: one that is searchable through the keyword and one that points to the index page without any keywords. By adding the default keyword you can browse to your index page if you just have the caret in whitespace and press F1 in your default help file or select Locate in blah blah entry.

Hope you apply it...
Life would be so much easier if we could just look at the source code.

Offline Ceniza

  • Developer
  • Lives here!
  • *****
  • Posts: 1441
    • CenizaSOFT
Re: Help plugin, default keyword and keyword case
« Reply #1 on: July 30, 2007, 02:32:45 am »
I was going to check it but Berlios won't let me do it.

Offline yop

  • Regular
  • ***
  • Posts: 387
Re: Help plugin, default keyword and keyword case
« Reply #2 on: July 30, 2007, 09:10:26 am »
Would you like me to upload it here? Berlios works for me now.
Life would be so much easier if we could just look at the source code.