letter of a word. In addition, I have realized that I need to add another
attribute to that "class" and that would be the position of any letter with
an apex.
Example: the word domús would need to be transformed into {span class="s2
a4"}domus{/span}. Naturally, if the word already has a span with "class" in
it, "s2" would need to be added first (after I press a key combination under
"o") and then "a4" after I press another key combination under "ú".
AND, if no span exists around the word, then one needs to be added as well.
Make sense?
--
View this message in context: http://old.nabble.com/surrounding-a-word-with-a-tag-%2B-a-dynamic-attribute-tp28447764p28461698.html
Sent from the Vim - General mailing list archive at Nabble.com.
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
No comments:
Post a Comment