How to use context help

If you have a (*.chm) which explains something based on keyword index, then you can set up user tools to look up keyword you just have typed in without escaping from the Editor.

The following example shows how to set up 'User Tools' to use Win32API help file. We assume that you have Win32API help file (Win32API.CHM) in the following directory. C:\Win32API\Win32API.CHM

  1. Open Preferences dialog box and select User Tools page
  2. Select an empty slot and fill with the following arguments.
  • Menu Text: Win32API Context Help
  • Command: C:\Win32API\Win32API.CHM
  • Argument: $(CurrWord)
  • Initial dir: $(FileDir)
  • Hot key: F1
  • Close on exit: Yes
  • Save before execute: No

After that, you can press F1 to see the search index when the caret is on the word you want to look up.

How to use a online service

If you want to a online service to look-up a word which you have just typed in without escaping from the Editor, then

  1. Open Preferences dialog box and select User Tools page
  2. Select an empty slot and fill with the following arguments.
  • Menu Text: Online Service
  • Command: C:\Program Files\Mozilla Firefox\firefox.exe
  • Argument: https://dictionary.cambridge.org/spellcheck/english/?q=$(CurrWord)
  • Initial dir: $(FileDir)
  • Hot key: Ctrl+F1
  • Close on exit: Yes
  • Save before execute: No

After that, you can press Ctrl+F1 to see the contents when the caret is on the word you want to look up.

How to install or add a extra compiler

The platform already brings Harbour, MinGW-w64, TCC and FASM as native compilers but you may want to add another of your choice, so here is how to do it. In this example, we will install and use Enbarcadero Borland C++ 5.8.2 compiler which is free to use. Of course, there are more compilers available (Pelles C or FreeBasic for example). It is up to you which compiler or language you want to add and use.

  1. Download Borland C++ 5.8.2 compiler from here.
  2. Unzip it to c:\borland\bcc582
  3. Make sure that the directory containing bcc32.exe is in your system environment path. bcc32.exe is located in the \bin subdirectory of the c:\borland\bcc582.
  4. Make sure that there is a bcc32.cfg and a ilink32.cfg file in the \bin subdirectory of your compiler. Its needed to set the compiler options for the Include and Lib paths. This is what the files should contain:

bcc32.cfg

-I"c:\borland\bcc582\include;c:\borland\bcc582\include\dinkumware"
-L"c:\borland\bcc582\lib"
ilink32.cfg
-L"c:\borland\bcc582\lib" 
Once you you have finished this steps you can now add it to the platform.

  1. Open Preferences dialog box and select User Tools page
  2. Select an empty slot and fill with the following arguments.
  • Menu Text: Compile C++ with BCC
  • Command: C:\Borland\bcc582\bin\bcc32.exe
  • Argument: $(FileName)
  • Initial dir: $(FileDir)
  • Hot key: Ctrl+F7
  • Capture output: Yes
  • Save before execute: Yes

After that, you can press Ctrl+F7 to compile code with Borland C++.