On May 6, 2011, at 3:53 PM, John Delacour wrote:
> At 17:28 -0400 06/05/2011, you wrote:
>
>> Ideally I want the regex or reflow to but the attribut , for instance, on
>> char 4, and all the values on char 60.
>>
>> does that make sense?
>
> It might make more sense if you wrote out some pseudo-code showing precisely
> what you wish to achieve. The answer is simple but the question is confused.
>
> JD
I interpret Robert's intended result to look something like this.
width: 85%;
margin: 0 auto;
padding: 10px;
position: relative;
color: #CCC;
background-image: transparent url('foo/frack.png') no-repeat top left;
I don't imagine it could be done with a simple grep replace. I could probably
be done with a perl script which would count the longest string of characters
to the left of the colon and then pad to the right of it, count characters in
all the other lines and pad appropriately to the right.
Best,
Bucky
--
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 "[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>