I finally got time to look at this again, <br>(I got tired of merging my changes in locally every time I update.)<br><br>On Wed, Jan 17, 2007 at 6:48 PM, Aaron Bentley &lt;<a href="mailto:aaron.bentley@utoronto.ca">aaron.bentley@utoronto.ca</a>&gt; wrote:<br>
<div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">Marius Kruger wrote:<br>
&gt; On 1/17/07, *John Arbash Meinel* &lt;<a href="mailto:john@arbash-meinel.com">john@arbash-meinel.com</a><br>
<br>
</div><div class="Ih2E3d">&gt; I attached a bundle to &#39;Highlight trailing white space&#39;<br>
&gt; its probably an ugly hack, but I like the result.<br>
<br>
</div>Apparently, we also need &quot;Contains leading tabs&quot; :-)</blockquote><div><br>done <br>I realise it was a bit of a joke, but I did it any ways as it might obviously be useful.<br>It also gives a summary of new lines containing tabs (if any).<br>
&nbsp;</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
I like the idea, but I don&#39;t like having two different tests for<br>
trailing whitespace. &nbsp;Don&#39;t Repeat Yourself, as Martin recently reminded me.</blockquote><div><br>I tried to do this better, <br>but that forced me to send the match object to colorstring(), or pass the components seperately.<br>
The colorstring() is not a nice api any more, so I was thinking<br>to change mine to _colorstring() and bring back the original one (for in case someone used it elsewhere).<br><br>
</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d"><br>
&gt; We can also highlight text which is over 79 chars...<br>
&gt; what do you think?<br>
<br>
</div>David Allouche actually had a neat one for this. &nbsp;Instead of &quot;trailing<br>
whitespace&quot; or &quot;under 80 chars&quot;, he did &quot;wraps idempotently&quot;.</blockquote><div>&nbsp;</div>I&#39;m not sure what you mean by &quot;wraps idempotently&quot;, <br>but my new version highlight long lines nicely.<br>
<br>regards<br>marius</div>