<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<div style="font-size: 17px; "><b><i><span class="Apple-style-span" style="text-decoration: underline;">¡¡¡UPDATED!!!</span></i></b></div><div><br class="webkit-block-placeholder"></div>This has now been changed to option-escape like every other completion thing on the mac.<div><br class="webkit-block-placeholder"></div><div><span class="Apple-style-span" style="color: rgb(0, 0, 0); "><div><font class="Apple-style-span" face="Monaco" size="2"><div <font class="Apple-style-span" face="Helvetica"><b>⌥⎋</b></font>></font></div><div><div>or</div><div><font class="Apple-style-span" face="Monaco" size="2"><img <font class="Apple-style-span" face="Helvetica"><b>⌥⎋</b></font> /></font></div><div>and</div><div><span class="Apple-style-span" style="font-family: Monaco; font-size: 10px; "><img on<font class="Apple-style-span" face="Helvetica"><b>⌥⎋</b></font> /></span></div><div><div><font class="Apple-style-span" color="#000000"><span class="Apple-style-span" style="background-color: transparent;"><br class="webkit-block-placeholder"></span></font></div><div><font class="Apple-style-span" color="#000000"><span class="Apple-style-span" style="background-color: transparent;">I also added support for no extra space:</span></font></div><div><div><font class="Apple-style-span" face="Monaco" size="2"><div<font class="Apple-style-span" face="Helvetica"><b>⌥⎋</b></font>></font></div><div></div></div><div><br class="webkit-block-placeholder"></div><div>And you can now activate it anywhere inside the tag and outside of another attribute, even right up against a quote mark.</div><div><font class="Apple-style-span" color="#000000"><span class="Apple-style-span" style="background-color: transparent;"><div><font class="Apple-style-span" face="Monaco" size="2"><div id="whatever"<span class="Apple-style-span" style="font-family: Helvetica; font-weight: bold; ">⌥⎋<span class="Apple-style-span" style="font-family: Monaco; font-weight: normal; "> class="whatever"></span></span></font></div></span></font></div></div></div></span></div><div><font class="Apple-style-span" color="#000000"><span class="Apple-style-span" style="background-color: transparent;"><br class="webkit-block-placeholder"></span></font></div><div><font class="Apple-style-span" color="#000000"><span class="Apple-style-span" style="background-color: transparent;">And of course, if you activate it with some characters before your caret and there's only one match returned, it just automatically inserts it without asking you to choose from among 1 choices ;)</span></font></div><div><br class="webkit-block-placeholder"></div><div>I also fixed a few bugs where it would activate before and after the tag or on a newline, etc...</div><div><br class="webkit-block-placeholder"></div><div>If you find any more bugs, please let me know as soon as you possibly can. </div><div>Thanks!</div><div><font class="Apple-style-span" color="#000000"><span class="Apple-style-span" style="background-color: transparent;"><br></span></font><div> <span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; font-size: 10px; "><span class="Apple-tab-span" style="white-space: pre; "> </span>thomas Aylott<span class="Apple-converted-space"> </span>— </span><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; font-size: 10px; "><b style="font-weight: bold; "><span class="Apple-style-span" style="font-weight: bold; "><span class="Apple-style-span" style="font-weight: bold; "><span class="Apple-style-span" style="font-weight: bold; "><span class="Apple-style-span" style="font-weight: bold; "><span class="Apple-style-span" style="font-weight: bold; ">subtleGradient </span></span></span></span></span></b></span><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; font-size: 10px; ">— </span><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="font-size: 10px; ">CrazyEgg — bundleForge</span><br class="Apple-interchange-newline"></span></span></span></span></span></div></span></div></span> </div><br><div><div>On Aug 8, 2007, at 5:21 PM, Thomas Aylott (subtleGradient) wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><span class="Apple-style-span" style="font-size: 18px; ">Context Sensitive HTML attribute completion!!!</span><div><br class="webkit-block-placeholder"></div><div>You'll have to have the latest copy of the support folder and the HTML bundle.<div>I have tested this quite a bit on my machine, but </div><div><b>if you can find a way to make it break, please let me know and I'll fix it right up.</b></div><div><br class="webkit-block-placeholder"></div><div>To use:<span class="Apple-converted-space"> </span><b>tap the space key when your caret is just before the last character in an html tag</b>.</div><div>It looks up a list of attribute to tag associations and only shows you a list of the ones that apply to the current tag that you're in.</div><div><br class="webkit-block-placeholder"></div><div><font class="Apple-style-span" face="Monaco" size="2"><span class="Apple-style-span" style="font-size: 10px; "><div <span class="Apple-style-span" style="font-family: Helvetica; font-weight: bold; font-size: 9px; ">TAP_SPACE_HERE</span>></span></font></div><div><div>or</div><div><font class="Apple-style-span" face="Monaco" size="2"><span class="Apple-style-span" style="font-size: 10px; "><img <span class="Apple-style-span" style="font-family: Helvetica; font-weight: bold; font-size: 9px; ">TAP_SPACE_HERE</span> /></span></font></div><div><br></div><div>If you type a few characters before you hit space, it'll use those characters to limit your list even further.</div><div>for example:</div><div><div><br class="webkit-block-placeholder"></div><div><font class="Apple-style-span" face="Monaco" size="2"><span class="Apple-style-span" style="font-size: 10px; "><img on<span class="Apple-style-span" style="font-family: Helvetica; font-weight: bold; font-size: 9px; ">TAP_SPACE_HERE</span> /></span></font></div><div><br class="webkit-block-placeholder"></div></div><div>That will limit your list of completions to anything that starts with "on" and is applicable to the <img> tag.</div><div><br class="webkit-block-placeholder"></div><div>Also, works with lowercase and UPPERCASE HTML tags. When you use uppercase tagnames it'll give you upper and titlecase attribute names, depending on what's appropriate.</div><div><br class="webkit-block-placeholder"></div><div>This version DOES NOT look at your doctype, it just gives the same list for all html languages.</div></div><div>I think I'll wait for TM2 to do the doctype thing since it'll be a lot easier then.</div><div><br class="webkit-block-placeholder"></div><div>I'll do an official announcement with screencast and everything once people argue endlessly about the keybinding that it should use.</div><div><br class="webkit-block-placeholder"></div><div><span class="Apple-style-span" style="font-size: 10px; "><span class="Apple-tab-span" style="white-space: pre; "> </span>thomas Aylott — </span><span class="Apple-style-span" style="font-size: 10px; "><b style="font-weight: bold; ">subtleGradient </b></span><span class="Apple-style-span" style="font-size: 10px; ">— </span><span class="Apple-style-span" style="font-size: 10px; ">CrazyEgg — bundleForge</span></div><div><div apple-content-edited="true"></div></div></div></span></blockquote></div><br></div></body></html>