2011-08-01 18:46:03 +02:00
|
|
|
# JOE Syntax Highlighting
|
|
|
|
|
2011-08-02 13:09:30 +02:00
|
|
|
*[self](https://github.com/cmur2/joe-syntax)*
|
|
|
|
|
2011-07-31 17:00:58 +02:00
|
|
|
For JOE see [here](http://joe-editor.sourceforge.net/).
|
|
|
|
For JOE project see [here](http://sourceforge.net/projects/joe-editor/).
|
|
|
|
For original JOE syntax files see [here](http://joe-editor.hg.sourceforge.net/hgweb/joe-editor/joe-editor/file/tip/syntax).
|
|
|
|
|
2011-07-31 17:05:53 +02:00
|
|
|
For a description about how JOEs jsf parser works, see the header of
|
|
|
|
[c.jsf](http://joe-editor.hg.sourceforge.net/hgweb/joe-editor/joe-editor/file/tip/syntax/c.jsf.in).
|
|
|
|
Another good resource might be
|
|
|
|
[jsf.jsf](http://joe-editor.hg.sourceforge.net/hgweb/joe-editor/joe-editor/file/tip/syntax/jsf.jsf.in).
|
|
|
|
|
2011-08-06 23:04:31 +02:00
|
|
|
## Using
|
2011-08-01 10:25:17 +02:00
|
|
|
|
2011-08-06 23:04:31 +02:00
|
|
|
### ftyperc
|
2011-08-06 22:19:09 +02:00
|
|
|
|
|
|
|
To enable the enhanced *ftyperc* without overwriting '/etc/joe/ftyperc', you
|
|
|
|
may place the modified one in '~/.joe/' as '~/.joe/ftyperc'.
|
|
|
|
|
2011-08-06 23:04:31 +02:00
|
|
|
### *.jsf
|
2011-08-06 22:19:09 +02:00
|
|
|
|
|
|
|
To enable the .jsf files in this repository they need to appear in JOEs
|
|
|
|
'syntax' directory. This is likely to be '/usr/share/joe/syntax' when using
|
|
|
|
Debian and APT. A good way to achieve this is to clone this repository
|
|
|
|
somewhere onto your hard disk and establish symlinks to all jsf files in the
|
|
|
|
'syntax' directory
|
2011-08-01 10:25:17 +02:00
|
|
|
|
2011-08-06 23:04:31 +02:00
|
|
|
## Other Syntax Files
|
2011-07-31 17:00:58 +02:00
|
|
|
|
|
|
|
* [d.jsf](https://gist.github.com/1032393)
|
2011-08-01 18:46:03 +02:00
|
|
|
|
2011-08-06 23:04:31 +02:00
|
|
|
## How JOE syntax highlighting works
|
2011-08-01 18:46:03 +02:00
|
|
|
|
2011-08-01 18:53:45 +02:00
|
|
|
See [HowItWorks.md](https://github.com/cmur2/joe-syntax/blob/master/HowItWorks.md).
|