PSPad: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
m (Formatting)
m (Log Parser settings)
Line 15: Line 15:
# Set the Parameters property to ''"%File%"'', with the quotes.
# Set the Parameters property to ''"%File%"'', with the quotes.
# Check on ''Capture Program Output Window''.
# Check on ''Capture Program Output Window''.
# In LOG Parser, enter the following: ''Error in script "%F" on line %L*''
# Hit OK.
# Hit OK.
# You should now beable to open *.nsi files and see the NSIS syntax highlighting.  You can also hit compile (CTRL-F9) and it will compile the application from PSPad itself, displaying the output in the Log window.
# Now beable to open *.nsi files and see the NSIS syntax highlighting.  You can also hit compile (CTRL-F9) and it will compile the application from PSPad itself, displaying the output in the Log window.


== See also ==
== See also ==

Revision as of 01:23, 1 February 2006

Author: Rob Loach (talk, contrib)


PSPad with NSIS integration

PSPad editor is freeware programmer editor, usable for people who:

  • work with various programming environments
  • like highlighted syntax in code
  • need a small tool with simple controls and the capabilities of a mighty code editor
  • looking for a tool to work with plain text
  • want to save money and still have the functionality of professional products

Integrating with NSIS

PSPad can integrate with NSIS perfectly with both syntax highlighting and compiling abilities. To enable this, you must perform the following steps:

  1. In the menu, select Settings -> Highlighter Settings.
  2. Select a free "<not assigned>" item.
  3. Under "User Highlighters", select Nullsoft Install System.
  4. In the "Compiler" tab, set the compiler property to makensis.exe in the NSIS directory (you can browse for it).
  5. Set the Parameters property to "%File%", with the quotes.
  6. Check on Capture Program Output Window.
  7. In LOG Parser, enter the following: Error in script "%F" on line %L*
  8. Hit OK.
  9. Now beable to open *.nsi files and see the NSIS syntax highlighting. You can also hit compile (CTRL-F9) and it will compile the application from PSPad itself, displaying the output in the Log window.

See also