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";
if (!strcmp(key, "if"))
return
"if ()" \
" {" \
"if ()\n" \
" {\n" \
" }";
if (!strcmp(key, "ifel"))
return
"if ()" \
" {" \
" }" \
"else" \
" {" \
"if ()\n" \
" {\n" \
" }\n" \
"else\n" \
" {\n" \
" }";
return NULL;