hermet pushed a commit to branch master. http://git.enlightenment.org/tools/enventor.git/commit/?id=88055de59c131f258fde2d42411f37412f480c61
commit 88055de59c131f258fde2d42411f37412f480c61 Author: Mykyta Biliavskyi <m.biliavs...@samsung.com> Date: Thu Aug 20 11:09:37 2015 +0900 Autocomplete: except text between quotes. Summary: text that placed between quotes is excepted from recognize keywords. Previously when inside was string like this: 'images.normal: "123.png";' the autocomplete parser is recognize the dot, that placed inside quotes. It is broke the searching keyword in candidates tree. Reviewers: Hermet Differential Revision: https://phab.enlightenment.org/D2958 --- src/lib/auto_comp.c | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/src/lib/auto_comp.c b/src/lib/auto_comp.c index d761826..6859496 100644 --- a/src/lib/auto_comp.c +++ b/src/lib/auto_comp.c @@ -157,8 +157,19 @@ context_lexem_thread_cb(void *data, Ecore_Thread *thread EINA_UNUSED) while (cur && cur <= end) { - if ((cur!=end) && (!strncmp(cur, quot, quot_len))) - quot_cnt++; + if ((cur != end) && (!strncmp(cur, quot, quot_len))) + { + /*TODO: add exception for case '\"'*/ + quot_cnt++; + cur++; + continue; + } + if (quot_cnt % 2) + { + cur++; + continue; + } + //Check inside comment if (*cur == '/') --