Changing syntax highlighting in editor

I am trying to change some syntax highlighting words in the following program:
https://searchcode.com/codesearch/view/19983066/
In this code I have added the string 'testing', but it is not recognized by the text editor. The string "return" is in the original program and is recognized.

1
2
3
4
const char *code_keywords[] = {	// List of known C/C++ keywords...
    "testing",
    "return",
    //etc. 


The following code is calling compare_keywords method:

1
2
else if (bsearch(&bufptr, code_keywords, sizeof(code_keywords)/sizeof(code_keywords[0]),
sizeof(code_keywords[0]), compare_keywords)){}


And this method is:

1
2
3
    int compare_keywords(const void *a, const void *b) {
        return (strcmp(*((const char **)a), *((const char **)b)));
    }


what do I have to change so it will recognize (and highlight) the string 'testing'?
It is using binary search to find the word. If you want to add new words, put them in order.
Topic archived. No new replies allowed.