editor: With EFL fixes we can have multiline snippets

This commit is contained in:
Andy Williams 2017-05-16 22:43:21 +01:00
parent 493145b8e4
commit 186e44f071
1 changed files with 7 additions and 7 deletions

View File

@ -167,16 +167,16 @@ _edi_language_c_snippet_get(const char *key)
return "return"; return "return";
if (!strcmp(key, "if")) if (!strcmp(key, "if"))
return return
"if ()" \ "if ()\n" \
" {" \ " {\n" \
" }"; " }";
if (!strcmp(key, "ifel")) if (!strcmp(key, "ifel"))
return return
"if ()" \ "if ()\n" \
" {" \ " {\n" \
" }" \ " }\n" \
"else" \ "else\n" \
" {" \ " {\n" \
" }"; " }";
return NULL; return NULL;