Is there a way to wrap a line with tags? I know this can be done with a snippet but if I dont have a snippet, is there a way to select a line and wrap it in, say, <dl></dl>?
I cant find it but I feel like I've done it before.
Thanks,
Will
wrapping a line in a tag?
Moderator: kfury77
Forum rules
Please try to follow these guidelines. This will help to receive faster and more accurate response.
Please try to follow these guidelines. This will help to receive faster and more accurate response.
- Check the Support section of the corresponding product first. Chances are you will find your answer there;
- Do not create new topics for already reported problems. Add your comments to the existing topics instead;
- Create separate topic for each problem request. Do NOT post a number of non-related problem reports in a single topic;
- Give your topic a meaningful title. Titles such as "A question," "Bug report" and "Help!" provide others no clue what your message is about;
- Include the version number of the software you are using;
- This is not an official customer support helpdesk. If you need a prompt and official response, please contact our support team directly instead. It may take a while until you receive a reply in the forum;
- syrupcore
- Top Contributor
- Posts: 917
- Joined: Thu Jul 21, 2005 12:58 am
- Location: Portland, Oregon, usa
- Contact:
hmm... just came up with a semi solution. Made a snippet with this:
Before:
After:
entering the 'dl' both times leaves you with <dl>selected text</dl>. Is there some trickery to get the "after" area to automatically use the input from the before?
Will
Before:
Code: Select all
<%[Enter Tag]%>
Code: Select all
</%[Enter Tag]%>
Will