Autocomplete: support images subblock inside group block.

Summary:
for cases when "group" block contain "images" subblock
autocomplete feature works wrong if cursor placed below "images"
subblock.
Added support "images" inside "group".Also added "part" to
recognized keywords.
@fix

Reviewers: Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D2955
This commit is contained in:
Mykyta Biliavskyi 2015-08-20 11:11:52 +09:00 committed by ChunEon Park
parent 88055de59c
commit c33ba546f2
1 changed files with 107 additions and 1 deletions

View File

@ -357,6 +357,111 @@ group "lexem" struct {
value "string" string: "script_only";
}
}
group "lexem" struct {
group "nodes" list {
group "lexem" struct {
group "nodes" list {
}
group "txt" var_array {
count 1;
value "string" string: "%s: \"\" COMP;";
}
value "cursor_offset" int: 7
value "line_back" int: 0;
group "name" var_array {
count 1;
value "string" string: "image";
}
}
group "lexem" struct {
group "nodes" list {
group "lexem" struct {
group "nodes" list {
}
group "txt" var_array {
count 1;
value "string" string: "%s: \"\";";
}
value "cursor_offset" int: 2;
value "line_back" int: 0;
group "name" var_array {
count 1;
value "string" string: "name";
}
}
group "lexem" struct {
group "nodes" list {
group "lexem" struct {
group "nodes" list {
}
group "txt" var_array {
count 1;
value "string" string: "%s: \"\" COMP;";
}
value "cursor_offset" int: 7;
value "line_back" int: 0;
group "name" var_array {
count 1;
value "string" string: "image";
}
}
group "lexem" struct {
group "nodes" list {
}
group "txt" var_array {
count 1;
value "string" string: "%s: ;";
}
value "cursor_offset" int: 1;
value "line_back" int: 0;
group "name" var_array {
count 1;
value "string" string: "size";
}
}
}
group "txt" var_array {
count 3;
value "string" string: "%s {<br/>";
value "string" string: " <br/>";
value "string" string: "}";
}
value "cursor_offset" int: 2
value "line_back" int: 1;
group "name" var_array {
count 1;
value "string" string: "image";
}
}
}
group "txt" var_array {
count 3;
value "string" string: "%s {<br/>";
value "string" string: " <br/>";
value "string" string: "}";
}
value "cursor_offset" int: 2
value "line_back" int: 1
group "name" var_array {
count 1;
value "string" string: "set";
}
}
}
group "txt" var_array {
count 3;
value "string" string: "%s {<br/>";
value "string" string: " <br/>";
value "string" string: "}";
}
value "cursor_offset" int: 2;
value "line_back" int: 1;
value "dot" int: 1;
group "name" var_array {
count 1;
value "string" string: "images";
}
}
group "lexem" struct {
group "nodes" list {
group "lexem" struct {
@ -1219,7 +1324,7 @@ group "lexem" struct {
value "cursor_offset" int: 4;
value "line_back" int: 1;
group "name" var_array {
count 10;
count 11;
value "string" string: "image";
value "string" string: "group";
value "string" string: "swallow";
@ -1230,6 +1335,7 @@ group "lexem" struct {
value "string" string: "table";
value "string" string: "text";
value "string" string: "textblock";
value "string" string: "part";
}
}
}