Re: grep help coordinates

2018-03-05 Thread Marek Stepanek
On 05.03.18 22:49, Steve Wilson wrote:
> Need help trying to figure out how to do a grep search and replace in BBEdit 
> of a couple of coordinates into KML. 
> Unfortunately the order of the lat/long needs to be flipped.
> Here is what it looks like:
> 
> (32.839098817184, -97.303764761793)
> 
> And I need it to look like this:
> 
> -97.303764761793,32.839098817184,0.0
> 
> Thanks for any help
> 


Hello Steve!


I don't know, whether there are some more characters around your data.

If the coordinates are pure one per line, this should work with grep:

search:
^(-?\d\d\.\d{12}),\s*(-?\d\d\.\d{12})\s*$

replace:
\02,\01,0.0


best greetings


marek


-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or would like to report a problem, please email
"supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: 
--- 
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.


Re: Navigating folders and files in a project sidebar from the keyboard?

2018-03-05 Thread F. Alfredo Rego
Hello Brian,

I use Keyboard Maestro with great success for these kinds of challenges.

Enjoy!

Alfredo

> On Mar 5, 2018, at 4:07 PM, Brian Christiansen  wrote:
> 
> Hello,
> 
> After searching the user manual (love that thing) and this group, I can't 
> find anything on getting around within the sidebar without taking my hands 
> off the keyboard. 
> 
> What I am picturing is,
> 
> 1. Key combo to shift focus to the sidebar
> 2. Keys to move through the hierarchy, in the manner of navigating the Finder 
> from the keyboard.
> 3. Perhaps CMD-O to open a file
> 4. Key combo to shift focus back to the editor pane.
> 
> Am I just missing it? I've wanted to do this for years, and have never gotten 
> around to asking. The majority of my work is within Projects, so for me the 
> Sidebar is there 95% of the time.
> 
> Thank you,
> ~brian
> 
> -- 
> This is the BBEdit Talk public discussion group. If you have a 
> feature request or would like to report a problem, please email
> "supp...@barebones.com" rather than posting to the group.
> Follow @bbedit on Twitter:  >
> --- 
> 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 
> .

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or would like to report a problem, please email
"supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: 
--- 
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.


Re: grep help coordinates

2018-03-05 Thread Steve Wilson
Thanks!

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or would like to report a problem, please email
"supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: 
--- 
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.


Navigating folders and files in a project sidebar from the keyboard?

2018-03-05 Thread Brian Christiansen
Hello,

After searching the user manual (love that thing) and this group, I can't 
find anything on getting around within the sidebar without taking my hands 
off the keyboard. 

What I am picturing is,

1. Key combo to shift focus to the sidebar
2. Keys to move through the hierarchy, in the manner of navigating the 
Finder from the keyboard.
3. Perhaps CMD-O to open a file
4. Key combo to shift focus back to the editor pane.

Am I just missing it? I've wanted to do this for years, and have never 
gotten around to asking. The majority of my work is within Projects, so for 
me the Sidebar is there 95% of the time.

Thank you,
~brian

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or would like to report a problem, please email
"supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: 
--- 
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.


Re: grep help coordinates

2018-03-05 Thread Fletcher Sandbeck
Something like this should do it. The unescaped parentheses define groups which 
are referred to by \1 and \2 in the replacement pattern. The escaped 
parentheses match the actual parentheses around the coordinates.

Find: \(([0-9.-]+), ([0-9.-]+)\)
Replace: \2,\1

Hope this helps,

[fletcher]


> On Mar 5, 2018, at 1:49 PM, Steve Wilson  wrote:
> 
> Need help trying to figure out how to do a grep search and replace in BBEdit 
> of a couple of coordinates into KML. 
> Unfortunately the order of the lat/long needs to be flipped.
> Here is what it looks like:
> 
> (32.839098817184, -97.303764761793)
> 
> And I need it to look like this:
> 
> -97.303764761793,32.839098817184,0.0
> 
> Thanks for any help
> 
> -- 
> This is the BBEdit Talk public discussion group. If you have a 
> feature request or would like to report a problem, please email
> "supp...@barebones.com" rather than posting to the group.
> Follow @bbedit on Twitter: 
> --- 
> 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.

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or would like to report a problem, please email
"supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: 
--- 
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.


grep help coordinates

2018-03-05 Thread Steve Wilson
Need help trying to figure out how to do a grep search and replace in BBEdit of 
a couple of coordinates into KML. 
Unfortunately the order of the lat/long needs to be flipped.
Here is what it looks like:

(32.839098817184, -97.303764761793)

And I need it to look like this:

-97.303764761793,32.839098817184,0.0

Thanks for any help

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or would like to report a problem, please email
"supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: 
--- 
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.


[ANN] BBEdit 12.1.2 (410045) pre-release

2018-03-05 Thread Rich Siegel

Good morning folks,

We're currently working on another maintenance update to BBEdit 
12 to address a few recently reported issues.


Note that this is a _pre-release_ version. The intent is to fix 
bugs and address areas of improvement based on what our 
customers have reported. However, since the software is at this 
point not fully tested, there _may_ be bugs and regressions.


If this prospect makes you nervous, then sticking with the 
public release versions is your best course of action. Nobody 
will be offended if you choose to do so; you're under no 
obligation to install and use anything but a public release. :-)


Complete change notes to date for all the pre-release builds in 
this cycle are available here:


  

The change notes are organized into additions, changes, and 
fixes, and are annotated where appropriate with case numbers. So 
if you recognize a number corresponding to a support case that 
was opened for you, you can now verify that it's been fixed 
correctly. Please take the time to review the changes before 
using the new build -- it'll be worth your time.


One final note: If you run into a bug in a pre-release version, 
PLEASE DO NOT REPORT THE BUG TO THE LIST. This includes asking 
about whether others have seen the same problem. Instead, please 
send a bug report to  and we will deal 
with it there. This will help us keep the list discussion on 
topic and productive for all list members.


Here is the list of changes made since previous pre-release build:



version 12.1.2 (410045) (2018-03-02)

Additions
-

o   (none in this build)

Changes
---

o   (none in this build)

Fixes
-

*   Made some changes to further improve performance in the common
case of loading an ASCII or UTF-8 file; improvements are
generally around 2x and should be most noticeable on very large
files.

*   Made a change to improve performance when generating information
for the Functions menu.

*   Made a change to fix a "should never happen" crash which seems
to occur when adding an item to the Recent Documents list.

*   [353212] Fixed a bug in which the bezel alerts (used for Wrap
Around notifications and other purposes) would leak a 
window each

time, leading to strange effects like "phantom" windows in
Mission Control.

*   [353249] Fixed bug in which the Markdown tokenizer was confused
by empty URL references (e.g. `[](https://www.barebones.com/)`)
in such a way that editing in certain subsequent parts of the
file would cause syntax coloring to get out of whack. This change
also fixes a bug in the Markdown syntax coloring in which links
with an empty description or URL were not properly 
recognized and

colored.

*   Fixed cases in which the Markdown language module would not
necessarily rescan the appropriate range of text when recomputing
syntax coloring during edits in certain places. (This 
doesn't fix

a specific bug report; but may resolve some reported issues.)

*   [353277] Made a change so that irrelevant controls are not shown
in the font panel's tool bar. (This affects View -> Text Display
-> Show Fonts and Preferences -> Editor Defaults.)

*fin*

The package can be downloaded from our web server:



Enjoy,

R.

--
This is the BBEdit Talk public discussion group. If you have a 
feature request or would like to report a problem, please email

"supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: 
--- 
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.


Reopen with Encoding keyboard shortcut

2018-03-05 Thread Graham Buck
Is there a way to set a keyboard shortcut for Reopen with Encoding. I 
cannot find it in the BBEdit shortcut preference pane and when trying to 
set one through the macOS keyboard shortcut system it seems to catch the 
option under Markup->Character Set.

If not through the gui somehow, maybe through the command line?

Thanks

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or would like to report a problem, please email
"supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: 
--- 
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.