On 10/14/18 at 3:56 AM, kevin.bold...@gmail.com (Kevin Bolduan) wrote:

I can't do a global search-and-replace and would like a quick and easy way to type "2rem" (or any other value), select it, press the keyboard shortcut, and have it change to calc(2rem * .625).

I should think a clipping would do the job. You could even make it a placeholder clipping:

    calc(<#value#> * .625)

so that when you use the clipping's keyboard equivalent, you end up with the <#value#> placeholder selected and can just type your value.

Alternatively:

    calc(#select# * .625)

if you want to do it by typing and then selecting a value first (which would be more gestures, but to each their own).

R.
--
Rich Siegel                                 Bare Bones Software, Inc.
<sie...@barebones.com>                      <http://www.barebones.com/>

Someday I'll look back on all this and laugh... until they sedate me.

--
This is the BBEdit Talk public discussion group. If you have a feature request or need technical support, please email
"supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: <https://www.twitter.com/bbedit>
--- You received this message because you are subscribed to the Google Groups "BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.

Reply via email to