- This wiki is out of date, use the continuation of this wiki instead
Tutorial:Setting up Fenix with ConTEXT
From FenixWiki
Revision as of 18:23, 6 August 2007 (edit) Sandman (Talk | contribs) ← Previous diff |
Revision as of 19:07, 6 August 2007 (edit) (undo) Sandman (Talk | contribs) Next diff → |
||
Line 28: | Line 28: | ||
== Advantages == | == Advantages == | ||
ConTEXT is a pretty handy text editor. It has quite a range of possibilities and the highlighter file is very up to date. When it is setup like described above, certain files are only needed in one directory: the fxi/fxc directory. These certain files contain: include files (*.inc), Fenix header files (*.fh) and DLL's (*.dll). Actually, any file can be included/imported if it's in the fxi/fxc directory. This brings advantages like saving disk space, updating a certain file is much easier and updating automatically affects all programs using it, not just one. | ConTEXT is a pretty handy text editor. It has quite a range of possibilities and the highlighter file is very up to date. When it is setup like described above, certain files are only needed in one directory: the fxi/fxc directory. These certain files contain: include files (*.inc), Fenix header files (*.fh) and DLL's (*.dll). Actually, any file can be included/imported if it's in the fxi/fxc directory. This brings advantages like saving disk space, updating a certain file is much easier and updating automatically affects all programs using it, not just one. | ||
+ | |||
+ | == Source == | ||
+ | [http://wwwhome.cs.utwente.nl/~bergfi/?p=Projects/Fenix+for+ConTEXT+%28IDE%29 Fenix for ConTEXT] |
Revision as of 19:07, 6 August 2007
Setting up Fenix with ConTEXT. It is assumed Fenix Binaries are downloaded in a certain folder, thus in which fxi.exe and fxc.exe will be.
Contents |
Syntax Highlighter
- Place fenix.chl in the folder ConTEXT\Highlighters
- Restart ConTEXT
- File -> New
- Go to Tools -> Set Highlighter -> Customize Types..., select Foxpro, click on Edit and change "prg" to "prg2".
Compile
- Download the new fxc.bat (ConTEXTBatches.zip: extract into fxi/fxc folder) and replace the old one by it.
- Setup ConTEXT like on the screenshot. Replace
XXXXXX
by the directory containing fxc.bat and fxc.exe, in both the ConTEXT setup and the fxc.bat. Parser rule is:Error in file %n at line %l:*
. - Note that the
-i "XXXXXX"
will allow you to include codefiles in theXXXXXX
directory.
Run
- Setup ConTEXT like on the screenshot. Replace
XXXXXX
by the directory containing fxi.exe.
Lookup on this wiki
- Download fxw.bat (ConTEXTBatches.zip: extract into fxi/fxc folder).
- Setup ConTEXT like on the screenshot. Replace
XXXXXX
by the directory you placed fxw.bat in, the fxc.bat.
This will allow you to hit a button (F9-F12) to lookup the word currently under your cursor in ConTEXT on FenixWiki. Alternatively you can use %?
instead of %w
, to enter the word you're looking for. A possible setup is %w
on F9 and %?
on F12.
Advantages
ConTEXT is a pretty handy text editor. It has quite a range of possibilities and the highlighter file is very up to date. When it is setup like described above, certain files are only needed in one directory: the fxi/fxc directory. These certain files contain: include files (*.inc), Fenix header files (*.fh) and DLL's (*.dll). Actually, any file can be included/imported if it's in the fxi/fxc directory. This brings advantages like saving disk space, updating a certain file is much easier and updating automatically affects all programs using it, not just one.