diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2014-01-15 01:01:25 -0800 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2014-01-15 01:01:25 -0800 |
commit | e2fe8730496eb8019e8f8ace211eeaa596534942 (patch) | |
tree | d8e83c418267ac9d03864d7cfc73287d7de96c79 /reader.h | |
parent | 9da3d890e4af72b0ca231e9f4f208c3eb2b7d674 (diff) |
Change highlight colors from a bitmask into a combination enum / bitmask
so that we can support more than 16 color specifications.
Diffstat (limited to 'reader.h')
-rw-r--r-- | reader.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -16,6 +16,7 @@ #include "io.h" #include "common.h" #include "complete.h" +#include "highlight.h" class parser_t; class completion_t; @@ -173,7 +174,7 @@ void reader_set_complete_function(complete_function_t); The type of a highlight function. */ class env_vars_snapshot_t; -typedef void (*highlight_function_t)(const wcstring &, std::vector<int> &, size_t, wcstring_list_t *, const env_vars_snapshot_t &vars); +typedef void (*highlight_function_t)(const wcstring &, std::vector<highlight_spec_t> &, size_t, wcstring_list_t *, const env_vars_snapshot_t &vars); /** Specify function for syntax highlighting. The function must take these arguments: |