[TxMt] Re: quick way to find longest line in file?
matt at tidbits.com
Fri Jan 29 00:33:42 UTC 2016
Why not simply do a Find in the document for a regular expression of this sort:
...that is to say, "a line longer than 100 characters"? For 100, substitute any number you think might be exceeded by just this one excessive line. m.
> On Jan 28, 2016, at 10:52 AM, Bill Paxton <paxton at kitp.ucsb.edu> wrote:
> Sometimes the scroll bar at the bottom of the window indicates that there is a very long line somewhere, but a visual scan scrolling from top to bottom of the file doesn't show any line going beyond (or even near) the right edge of the window. This isn't a show stopper of course, but it would be nice to have a command of the form "select the longest line in the file and scroll to show it". Is there such a thing? If not, is there an easy way to add on a user tool to do the trick?
> textmate mailing list
> textmate at lists.macromates.com
matt neuburg, phd = http://www.apeth.net/matt/
pantes anthropoi tou eidenai oregontai phusei
Programming iOS 9! http://shop.oreilly.com/product/0636920044352.do
iOS 9 Fundamentals! http://shop.oreilly.com/product/0636920044345.do
More information about the textmate