aboutsummaryrefslogtreecommitdiffhomepage
path: root/highlight.h
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2014-01-13 00:31:25 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2014-01-13 00:31:25 -0800
commit746cc4c10b40cff7d0c88eac2448864506d8098b (patch)
tree747490fe4cad7cd456360e3c7395f9c518ee2494 /highlight.h
parent51c18e3f9a490cb6ae990442e783f7a0f106d5f1 (diff)
Rename highlight_shell_magic to highlight_shell_new_parser
Diffstat (limited to 'highlight.h')
-rw-r--r--highlight.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/highlight.h b/highlight.h
index eb123258..40a53551 100644
--- a/highlight.h
+++ b/highlight.h
@@ -84,7 +84,7 @@ struct file_detection_context_t;
\param error a list in which a description of each error will be inserted. May be 0, in whcich case no error descriptions will be generated.
*/
void highlight_shell(const wcstring &buffstr, std::vector<int> &color, size_t pos, wcstring_list_t *error, const env_vars_snapshot_t &vars);
-void highlight_shell_magic(const wcstring &buffstr, std::vector<int> &color, size_t pos, wcstring_list_t *error, const env_vars_snapshot_t &vars);
+void highlight_shell_new_parser(const wcstring &buffstr, std::vector<int> &color, size_t pos, wcstring_list_t *error, const env_vars_snapshot_t &vars);
/**
Perform syntax highlighting for the text in buff. Matching quotes and paranthesis are highlighted. The result is
@@ -136,7 +136,7 @@ bool is_potential_path(const wcstring &const_path, const wcstring_list_t &direct
/* For testing */
void highlight_shell_classic(const wcstring &buff, std::vector<int> &color, size_t pos, wcstring_list_t *error, const env_vars_snapshot_t &vars);
-void highlight_shell_magic(const wcstring &buff, std::vector<int> &color, size_t pos, wcstring_list_t *error, const env_vars_snapshot_t &vars);
+void highlight_shell_new_parser(const wcstring &buff, std::vector<int> &color, size_t pos, wcstring_list_t *error, const env_vars_snapshot_t &vars);
#endif