1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55
|
Yudit Author: Gaspar Sinai
Version: 2010-01-31
This document describes the "Highlighting" functionality in Yudit.
With highlighting, characters can have different colors according
to ceratain highlighting rules. The rules can be selected from
the "Highlighting" dialog that is accessible from the toolbar or
the hot-key <ctrl><h>. Highlighting modes are organized by
Category.
The legacy editor command "syntax" can also be used instead of
the new dialog box:
syntax simple
syntax simple-dark
syntax category:highlighting
One major addition to highlighting was the support of hunspell
program. Hunspell is an external module that Yudit can use for
spell checking. It was written by Nemeth Laszlo for Open Office
(nemeth (at) OpenOffice.org).
To use hunspell, you need
libhunspell.so (Linux),
libhunspell.dylib (Mac)
libhunspell.dll (Windows)
installed and you need to download and install the actual
.dic and .aff files for your language. If you just want a quick
setup, you can simply drop these files into ~/.yudit/syntax
directory.
Hunspell web-site (to compile hunspell.so):
http://hunspell.sourceforge.net/
Dictionaries (.dic, .aff files)
http://wiki.services.openoffice.org/wiki/Dictionaries
Please note, that there is a configuration parameter "yudit.syntaxpath"
that tells yudit where the external syntax files are, but as
~/.yudit/syntax directory is always used, you can put the dif, aff
files as well as the library itself.
To see this document in Yudit, just type
howto syntax
in the editor command area.
|