[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.webtools] Need help with trivial HTML-template PLZ
|
I'm trying to create a template that would wrap selected text with new tag. (The template should obviously let me fill the tag name, a cursor should end where the attributes go...)
<${tagName}${cursor}>${word_selection}</${tagName}>
Yet when I apply the template on let's say "word" I end up with following error message:
Template Evaluation Error:
First position 'ord<tag' at 1452, this position 'rd</tag' at 1466
.. and the result looks like this:
|word|<tagName>word</tagName>
(pipes indicating selection)
..instead of:
<writeTagName|>word</writeTagName>
(pipe indicating cursor)
What am I doiing wrong PLZ?