forked from enlightenment/edi
editor: With EFL fixes we can have multiline snippets
This commit is contained in:
parent
493145b8e4
commit
186e44f071
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue