support the new type vector.

This commit is contained in:
Hermet Park 2016-06-20 13:42:36 +09:00
parent 4f4da34c9b
commit 53f4b3c28c
3 changed files with 8 additions and 7 deletions

View File

@ -1581,7 +1581,7 @@ group "lexem" struct {
value "cursor_offset" int: 4;
value "line_back" int: 1;
group "name" var_array {
count 12;
count 13;
value "string" string: "image";
value "string" string: "group";
value "string" string: "swallow";
@ -1594,6 +1594,7 @@ group "lexem" struct {
value "string" string: "text";
value "string" string: "textblock";
value "string" string: "part";
value "string" string: "vector";
}
}
}

View File

@ -72,6 +72,7 @@ group "syntax_color_group" struct {
value "key" string: "text ";
value "key" string: "text.";
value "key" string: "textblock";
value "key" string: "vector";
value "key" string: "zoom";
}
}

View File

@ -250,16 +250,15 @@ template_part_insert(edit_data *ed, Edje_Part_Type part_type,
case EDJE_PART_TYPE_TABLE:
case EDJE_PART_TYPE_EXTERNAL:
case EDJE_PART_TYPE_PROXY:
case EDJE_PART_TYPE_LAST:
line_cnt = TEMPLATE_PART_IMAGE_LINE_CNT;
t = (char **) &TEMPLATE_PART_IMAGE;
strncpy(type_name, "image\0", 6);
break;
//for avoiding compiler warning.
case EDJE_PART_TYPE_MESH_NODE:
case EDJE_PART_TYPE_LIGHT:
case EDJE_PART_TYPE_CAMERA:
case EDJE_PART_TYPE_SNAPSHOT:
case EDJE_PART_TYPE_VECTOR:
case EDJE_PART_TYPE_LAST:
line_cnt = TEMPLATE_PART_IMAGE_LINE_CNT;
t = (char **) &TEMPLATE_PART_IMAGE;
strncpy(type_name, "image\0", 6);
break;
}