EmEditor (text editor) Forum Index Macro Samples
Learning by doing: Add closing HTML Tag | Register To Post |
| Threaded | Oldest First | Previous Topic | Next Topic | Bottom |
| Poster | Thread |
|---|---|
| Stefan | Posted on: 11/1/2011 11:43 am |
Home away from home ![]() ![]() Joined: 7/14/2008 From: Germany, EU Posts: 263 |
Learning by doing: Add closing HTML Tag Best to learn is to do some lessons. So i will show my steps creating an macro for others. I am not saying that this is the best way to do it, it is just an start. If you have an better way to do it, or other suggestions, just reply ![]() Purpose: Take the HTML tag on the left and put an closing tag on the right. For example write <HtmL>| and execute the macro to get <HtmL>|</HtmL> Handling: Save this an EmEditor macro as *.jsee (JavaScript) or add it as an macro snippet into the snippet plugin and add an shortcut just as Ctrl+. Code: |
| Threaded | Oldest First | Previous Topic | Next Topic | Top |
| Register To Post | |



