Title:
SiSU - Syntax Highlighting
Creator:
Ralph Amissah
Rights:
Copyright (C) Ralph Amissah 2007, part of SiSU documentation, License GPL 3
Type:
information
Subject:
ebook, epublishing, electronic book, electronic publishing, electronic document, electronic citation, data structure, citation systems, search
Date created:
Date issued:
Date available:
Date modified:
Date:
2007-09-16
SiSU - Syntax Highlighting, Ralph Amissah
1
SiSU Syntax Highlighting
2
1. Editor Files, Syntax Highlighting
3
The directory:
4
./data/sisu/conf/editor-syntax-etc/
5
/usr/share/sisu/conf/editor-syntax-etc
6
contains rudimentary sisu syntax highlighting files for:
7
(g)vim < http://www.vim.org>
8
package: sisu-vim
9
status: largely done
10
there is a vim syntax highlighting and folds component
11
gedit < http://www.gnome.org/projects/gedit>
12
gobby < http://gobby.0x539.de/>
13
file: sisu.lang
14
place in:
15
/usr/share/gtksourceview-1.0/language-specs
16
or
17
~/.gnome2/gtksourceview-1.0/language-specs
18
status: very basic syntax highlighting
19
comments: this editor features display line wrap and is used by
Goby!
20
nano < http://www.nano-editor.org>
21
file: nanorc
22
save as:
23
~/.nanorc
24
status: basic syntax highlighting
25
comments: assumes dark background; no display line-wrap; does
line breaks
26
diakonos (an editor written in ruby) < http://purepistos.net/diakonos>
27
file: diakonos.conf
28
save as:
29
~/.diakonos/diakonos.conf
30
includes:
31
status: basic syntax highlighting
32
comments: assumes dark background; no display line-wrap
33
kate & kwrite < http://kate.kde.org>
34
file: sisu.xml
35
place in:
36
/usr/share/apps/katepart/syntax
37
or
38
~/.kde/share/apps/katepart/syntax
39
[settings::configure kate::{highlighting,filetypes}]
40
[tools::highlighting::{markup,scripts}::SiSU ]
41
nedit < http://www.nedit.org>
42
file: sisu_nedit.pats
43
nedit -import sisu_nedit.pats
44
status: a very clumsy first attempt [not really done]
45
comments: this editor features display line wrap
46
emacs < http://www.gnu.org/software/emacs/emacs.html>
47
files: sisu-mode.el
48
to file ~/.emacs add the following 2 lines:
49
(add-to-list 'load-path
"/usr/share/sisu-examples/config/syntax_hi")
50
(require 'sisu-mode.el)
51
[not done / not yet included]
52
vim & gvim < http://www.vim.org>
53
files:
54
package is the most comprehensive sisu syntax highlighting and
editor environment provided to date (is for vim/ gvim, and is separate
from the contents of this directory)
55
status: this includes: syntax highlighting; vim folds; some error
checking
56
comments: this editor features display line wrap
57
NOTE:
58
[SiSU parses files with long lines or line breaks, but, display
linewrap (without line-breaks) is a convenient editor feature to have
for sisu markup]
59