Enable snippets usage on selected text

Changed text style snippets to enable them to be used on selected texts
This commit is contained in:
Marcio Lima 2018-09-12 16:24:10 -03:00
parent 147536760a
commit 213002b3ba

View File

@ -71,22 +71,22 @@
}, },
"bf" : { "bf" : {
"prefix": "FBF", "prefix": "FBF",
"body": "\\textbf{$1}", "body": "\\textbf{${1:${TM_SELECTED_TEXT:text}}}",
"description": "Use a bold font" "description": "Use a bold font"
}, },
"it" : { "it" : {
"prefix": "FIT", "prefix": "FIT",
"body": "\\textit{$1}", "body": "\\textit{${1:${TM_SELECTED_TEXT:text}}}",
"description": "Use an italic font" "description": "Use an italic font"
}, },
"em" : { "em" : {
"prefix": "FEM", "prefix": "FEM",
"body": "\\emph{$1}", "body": "\\emph{${1:${TM_SELECTED_TEXT:text}}}",
"description": "Use an emphasis font" "description": "Use an emphasis font"
}, },
"tt" : { "tt" : {
"prefix": "FTT", "prefix": "FTT",
"body": "\\texttt{$1}", "body": "\\texttt{${1:${TM_SELECTED_TEXT:text}}}",
"description": "Use a typewriter font" "description": "Use a typewriter font"
}, },
/* Insert Gree letter with @ + corresponding latin letter */ /* Insert Gree letter with @ + corresponding latin letter */