Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Vogel2016-02-09 16:15:24 +0000
committerLars Vogel2016-02-09 16:15:24 +0000
commit0e1c9f6f7d0f8aa4bf2a25e85272869463a486a5 (patch)
tree562754fc36b9255e16957ebe526968995fd32ab5 /org.eclipse.text/src
parent6d491f54cebf2892afd3b5665a61ab6dd21d313f (diff)
downloadeclipse.platform.text-0e1c9f6f7d0f8aa4bf2a25e85272869463a486a5.tar.gz
eclipse.platform.text-0e1c9f6f7d0f8aa4bf2a25e85272869463a486a5.tar.xz
eclipse.platform.text-0e1c9f6f7d0f8aa4bf2a25e85272869463a486a5.zip
Bug 486903 - [Templates] Clarifies the usage of word_selection defaults
Change-Id: I51158e66bd4cf1cff947bc794cc295cdfec819e2 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
Diffstat (limited to 'org.eclipse.text/src')
-rw-r--r--org.eclipse.text/src/org/eclipse/jface/text/templates/TextTemplateMessages.properties2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.text/src/org/eclipse/jface/text/templates/TextTemplateMessages.properties b/org.eclipse.text/src/org/eclipse/jface/text/templates/TextTemplateMessages.properties
index 6e1cabe58ed..253bb5e7edf 100644
--- a/org.eclipse.text/src/org/eclipse/jface/text/templates/TextTemplateMessages.properties
+++ b/org.eclipse.text/src/org/eclipse/jface/text/templates/TextTemplateMessages.properties
@@ -21,5 +21,5 @@ GlobalVariables.variable.description.date=<b>${id\:date[(format[, locale])]}</b>
GlobalVariables.variable.description.year=Current year. Use the 'date' variable if you want to specify the format.
GlobalVariables.variable.description.time=Current time. Use the 'date' variable if you want to specify the format.
GlobalVariables.variable.description.user=User name
-GlobalVariables.variable.description.selectedWord= <b>${id\:word_selection[(default)]}</b><br>Evaluates to the selected text. 'default' is an optional parameter, which specifies the text if the selected text is empty. <br><br><b>Examples:</b><br><code>${word_selection}</code><br><code>${currentWord:word_selection(Press)}</code><br>
+GlobalVariables.variable.description.selectedWord= <b>${id\:word_selection[(default)]}</b><br>Evaluates to the selected text. 'default' is an optional parameter, which specifies the text if the selected text is empty. <br><br><b>Examples:</b><br><code>${word_selection}</code><br><code>${currentWord:word_selection(myStringVariable)}</code><br><code>${currentWord:word_selection('"Press me"')}</code><br>
GlobalVariables.variable.description.selectedLines= The selected lines

Back to the top