diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2014-09-15 15:06:59 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2014-09-15 15:07:50 +0200 |
| commit | bab44ff37c248a593199d9b3e69700800a49fbd7 (patch) | |
| tree | fbe8bb43d0148f7c7b96ff37f7af783cd879134f /editor.h | |
| parent | 9ba333a6ae38820844668328e015aa3c9e6da895 (diff) | |
| download | vis-bab44ff37c248a593199d9b3e69700800a49fbd7.tar.gz vis-bab44ff37c248a593199d9b3e69700800a49fbd7.tar.xz | |
More efficient syntax highlighting, first match wins
Diffstat (limited to 'editor.h')
| -rw-r--r-- | editor.h | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -119,9 +119,7 @@ void editor_delete(Editor*, size_t pos, size_t len); /* load a set of syntax highlighting definitions which will be associated * to the underlying window based on the file type loaded. * - * both *syntaxes and *colors must point to a NULL terminated array. - * it the i-th syntax definition does not specifiy a fore ground color - * then the i-th entry of the color array will be used instead + * both *syntaxes and *colors must point to a NULL terminated arrays. */ bool editor_syntax_load(Editor*, Syntax *syntaxes, Color *colors); void editor_syntax_unload(Editor*); |
