At 03:10 +0100 01/08/2010, I wrote:

  repeat with _i from 1 to _linelength
    if item _i of _line is not in {space, tab, ASCII character 202} then

I've just realized that's not very clever.  Should be:

    set _nbsp to ASCII character 202
    repeat with _i from 1 to _linelength
      if item _i of _line is not in {space, tab, _nbsp} then

otherwise time is wasted calling the OSAX at each iteration.

JD

--
You received this message because you are subscribed to the "BBEdit Talk" discussion group on Google Groups.
To post to this group, send email to bbedit@googlegroups.com
To unsubscribe from this group, send email to
bbedit+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/bbedit?hl=en
If you have a feature request or would like to report a problem, please email "supp...@barebones.com" rather than posting to the group.

Reply via email to