I have started the development of a small plugin that allows to run a language specific help file (CHM) and search for the keyword under the cursor.
If you find this interesting/useful or not, or if you have any idea or suggestion, please drop me a line so I will be encouraged to continue and I will let you know of new versions.
This is the very first version of the plugin so there is no fancy GUI to setup the list of language specific help files.
At the moment you have to manually edit the LanguageHelp.ini file that will be created in you plugin/config directory.
[Options]
StayOnTop=0
If StayOnTop=1, the window will stay on top of NPP, otherwise clicking on NPP main window will put the help in bkgnd. The default value is 0
For each language you specfy a short name for the section: [MyLanguage]
Then you define two entries to list the extensions without the "." and separated by space.
They you define the path to the help file to use for that extension.
Error handling is not very advanced at the moment!!!
Ciao!
Franco
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It could be a good idea nevertheless it is impossible to load your plugin with version 4.3 probably because of the MT/ option. I think that there are Don message about this problem
Thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm not sure I understand your problem loading the plugin because I'm using it with v4.3 without any problem.
Could you please point me to Don's comments?
Thank you,
Franco
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I like your plugin and it works now in NPP 4.3 with MT. Thanks for your work!! But I have two suggestions to improve the plugin.
1) It would be helpful, if the path is not limited to the 8.3 format. Is it possible to define long file names maybe with quotes (e.g. "C:\Program Files\...")?
2) The plugin would be VERY good, if it would'nt be limited to chm files. Can you change the plugin in a way that defined file, which are NOT chm files, are opened via the command line in the proper program (so if a pdf file is specified, Acrobat Reader is opened; or if it is a txt file, it will be opened in Notepad++ itself)?
This would broaden the possibilities to include help files.
Thanks,
Simon
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have started the development of a small plugin that allows to run a language specific help file (CHM) and search for the keyword under the cursor.
If you find this interesting/useful or not, or if you have any idea or suggestion, please drop me a line so I will be encouraged to continue and I will let you know of new versions.
The v0.10 can be donwloaded here: http://fstellari.googlepages.com/LanguageHelp_dll_0v10.zip
This is the very first version of the plugin so there is no fancy GUI to setup the list of language specific help files.
At the moment you have to manually edit the LanguageHelp.ini file that will be created in you plugin/config directory.
[Options]
StayOnTop=0
If StayOnTop=1, the window will stay on top of NPP, otherwise clicking on NPP main window will put the help in bkgnd. The default value is 0
Here are some example of setting for help file:
[AutoIt]
Extension=au3
File=C:\Progra~1\AutoIt3\AutoIt.chm
[JPSoft]
Extension=bat btm cmd
File=C:\Progra~1\JPSoft\4NT7\jphelp.chm
For each language you specfy a short name for the section: [MyLanguage]
Then you define two entries to list the extensions without the "." and separated by space.
They you define the path to the help file to use for that extension.
Error handling is not very advanced at the moment!!!
Ciao!
Franco
Hi
It could be a good idea nevertheless it is impossible to load your plugin with version 4.3 probably because of the MT/ option. I think that there are Don message about this problem
Thanks
I'm not sure I understand your problem loading the plugin because I'm using it with v4.3 without any problem.
Could you please point me to Don's comments?
Thank you,
Franco
I have recompiled the DLL with the /MT option.
Please try downloading it again and let me know if it works.
http://fstellari.googlepages.com/LanguageHelp_dll_0v10.zip
Franco
Dear Franco,
I like your plugin and it works now in NPP 4.3 with MT. Thanks for your work!! But I have two suggestions to improve the plugin.
1) It would be helpful, if the path is not limited to the 8.3 format. Is it possible to define long file names maybe with quotes (e.g. "C:\Program Files\...")?
2) The plugin would be VERY good, if it would'nt be limited to chm files. Can you change the plugin in a way that defined file, which are NOT chm files, are opened via the command line in the proper program (so if a pdf file is specified, Acrobat Reader is opened; or if it is a txt file, it will be opened in Notepad++ itself)?
This would broaden the possibilities to include help files.
Thanks,
Simon