Hello all.

The Extended CHM Format manual page (http://www.php.net/docs-echm.php) lists a fair number of text editors under the IDE Integration section. I've just managed to have the manual work nicely with Notepad++ (http://notepad-plus.sourceforge.net/) too and would like to share the thing.

Assuming you've put the manual into C:\Program Files\PhpManual you have to find the file named shortcuts.xml in Notepad++'s folder, open it in a text editor and add this line to the UserDefinedCommands section (line breaks added for clarity - should be on a single line):

<Command name="PHP Manual" Ctrl="yes" Alt="yes" Shift="no" Key="116">
hh.exe "ms-its:c:/Program Files/Phpmanual/php_manual_en.chm::/function.$(CURRENT_WORD).html"
</Command>

Usage: highlight a PHP function name and either press ALT+CTRL+F5 or click the PHP Manual item under the Run menu and the CHM will open at the function's page.

...and, BTW, thanks for the best manual all around.

djn

--
-----------------------------------------
Dejan Kozina Web design studio
Dolina 346 (TS) - I-34018 Italy
tel./fax: +39 040 228 436 - cell.: +39 348 7355 225 skype: dejankozina
http://www.kozina.com/  - e-mail: [EMAIL PROTECTED]

Reply via email to