Author Topic: Help plugin broken ?  (Read 4842 times)

mdelfede

  • Guest
Help plugin broken ?
« on: July 26, 2006, 08:54:25 pm »
I updated to 2789 and help stopped working.
Selecting registered help files does nothing.

Do I miss somethng ?

Ciao

Max

mdelfede

  • Guest
Re: Help plugin broken ?
« Reply #1 on: July 26, 2006, 09:02:52 pm »
ops, no, it's not working only when there's no open project.

Is it a desired behaviour ?

Ciao

Max

Offline Ceniza

  • Developer
  • Lives here!
  • *****
  • Posts: 1441
    • CenizaSOFT
Re: Help plugin broken ?
« Reply #2 on: July 26, 2006, 09:06:34 pm »
It is NOT a desired behavior, it's just a side effect of removing some code to implement "always lookup for the word under the caret".

Thanks for reporting it. I'll fix it in a few minutes :)

mdelfede

  • Guest
Re: Help plugin broken ?
« Reply #3 on: July 26, 2006, 10:58:36 pm »
It is NOT a desired behavior, it's just a side effect of removing some code to implement "always lookup for the word under the caret".

Thanks for reporting it. I'll fix it in a few minutes :)

wow, that's fast !  :lol:

I have one question : I'm building a chm help file for boost, but I have the default help file on wxwidgets help.
Pressing F1 the plugin opens the default help file, of course... is there no way to make it search the word under caret on all help files, maybe providing a pop up when found in more than one ?

Ciao

Max

Offline Ceniza

  • Developer
  • Lives here!
  • *****
  • Posts: 1441
    • CenizaSOFT
Re: Help plugin broken ?
« Reply #4 on: July 27, 2006, 12:04:48 am »
Well... I could make a keyword go through all the help files, but how could I know if it was found or not? It would launch all the help files you have even if the keyword wasn't found in any of those.

Another solution could be adding a key-binding to other help files (using the key binder plugin) but then you'd have to remember the combination for different help files.

An alternative could be adding another shortcut for keyword location that shows a dialog with all the help files listed. You could make a quick selection + enter (or click) to get the help plugin try it there.

mdelfede

  • Guest
Re: Help plugin broken ?
« Reply #5 on: July 27, 2006, 12:38:51 am »
Well... I could make a keyword go through all the help files, but how could I know if it was found or not? It would launch all the help files you have even if the keyword wasn't found in any of those.

Another solution could be adding a key-binding to other help files (using the key binder plugin) but then you'd have to remember the combination for different help files.

An alternative could be adding another shortcut for keyword location that shows a dialog with all the help files listed. You could make a quick selection + enter (or click) to get the help plugin try it there.

Yes, I see... they're all workarounds.
To make things perfect you should index all help files.... quite a big task I guess. KDevelop does it like that and it isn't perfect too... and very slow indexing files.
Borland does index all files, and it's quite fast, but it works only with CHM help file format.

Another nice idea would be to pack all chm files in one, every time you add an help file. So you'll have as many 'chapters' as original help files, but with only one index. But again, that'll work only for chm files.

I think that the most portable thing would be to limit help files to pure html, and index all them, if I remember well there is an open source indexer for html files that works good.

BTW, you didn't choose an  easy task  :)

Ciao

Max
« Last Edit: July 27, 2006, 12:46:44 am by mdelfede »