aboutsummaryrefslogtreecommitdiff
path: root/editor.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2014-09-15 15:06:59 +0200
committerMarc André Tanner <mat@brain-dump.org>2014-09-15 15:07:50 +0200
commitbab44ff37c248a593199d9b3e69700800a49fbd7 (patch)
treefbe8bb43d0148f7c7b96ff37f7af783cd879134f /editor.h
parent9ba333a6ae38820844668328e015aa3c9e6da895 (diff)
downloadvis-bab44ff37c248a593199d9b3e69700800a49fbd7.tar.gz
vis-bab44ff37c248a593199d9b3e69700800a49fbd7.tar.xz
More efficient syntax highlighting, first match wins
Diffstat (limited to 'editor.h')
-rw-r--r--editor.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/editor.h b/editor.h
index 6b9df05..bb20fdb 100644
--- a/editor.h
+++ b/editor.h
@@ -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*);