diff options
author | Daniel Salazar <zanqdo@gmail.com> | 2010-06-18 00:56:36 +0400 |
---|---|---|
committer | Daniel Salazar <zanqdo@gmail.com> | 2010-06-18 00:56:36 +0400 |
commit | 557f0525eaeb2e093a48915426d90fa17758b1b6 (patch) | |
tree | 954f0a984ad389145827ddf44e532b837456bb40 /source/blender/editors/space_text/text_draw.c | |
parent | 8c031f22b923df272f20578bcc6a39878303e9cb (diff) |
Added sintax coloring for None
Diffstat (limited to 'source/blender/editors/space_text/text_draw.c')
-rw-r--r-- | source/blender/editors/space_text/text_draw.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/space_text/text_draw.c b/source/blender/editors/space_text/text_draw.c index 3a891a66107..873deb30511 100644 --- a/source/blender/editors/space_text/text_draw.c +++ b/source/blender/editors/space_text/text_draw.c @@ -233,6 +233,9 @@ static int find_bool(char *string) /* Check for "True" */ else if(string[0]=='T' && string[1]=='r' && string[2]=='u' && string[3]=='e') i = 4; + /* Check for "None" */ + else if(string[0]=='N' && string[1]=='o' && string[2]=='n' && string[3]=='e') + i = 4; /* If next source char is an identifier (eg. 'i' in "definate") no match */ if(i==0 || text_check_identifier(string[i])) return -1; |