Command Line Create New BBEdit Document Paste

2014-12-15 Thread Rich F
Hi folks.

I’d like to have BBEdit receive text that I have parked in a Ruby variable 
coming out of open-uri.  Is there a way to create a new document that’s 
unsaved, then copy that variable to that document?  I’m assuming I’ll use 
the bbedit command line interface for this, but I can’t seem to find any 
way of targeting a new document.  Scratchpad might be an option, but it’s 
not elegant.  

Thanks for your input.  

-- 
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: http://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.


Re: Command Line Create New BBEdit Document Paste

2014-12-15 Thread John Delacour

On 15 Dec 2014, at 18:05, Rich F li...@viaduct-productions.com wrote:

 I’d like to have BBEdit receive text that I have parked in a Ruby variable 
 coming out of open-uri.  Is there a way to create a new document that’s 
 unsaved, then copy that variable to that document?  I’m assuming I’ll use the 
 bbedit command line interface for this, but I can’t seem to find any way of 
 targeting a new document.  Scratchpad might be an option, but it’s not 
 elegant.

Smething like this?:

echo some_text  x.txt; open -a bbedit x.txt

JD



-- 
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: http://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.


Re: Command Line Create New BBEdit Document Paste

2014-12-15 Thread Jeffrey Jones
On Dec 15, 2014, at 1:36 PM, John Delacour j...@bd8.com wrote:
 
 echo some_text  x.txt; open -a bbedit x.txt


It's easier than that.

echo some_text  |  bbedit --new-window

See the bbedit man page for other useful options.

-- 
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: http://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.


Re: save dialog higher than window

2014-12-15 Thread Mark Hagers
I have that issue, I'm happy to hear that it's already fixed, when will the 
update be released? The current BBEdit version is 11.0.1, I usually keep to 
the release versions.

MH

On Friday, December 5, 2014 4:06:49 PM UTC+1, François Schiettecatte wrote:

 Something very similar to this was fixed in version 11.0.2 (3495): 

 *   Added some code to work around a bug in OS X 10.10 
(`18785168/18701840`) in which the height of the Open and Save 
panels would creep by 22 pixels each time, until the bottom edge 
of the panel was off screen and inaccessible. 

 Have you tried that beta? 

 François 

  On Dec 5, 2014, at 5:36 AM, Urs Hochstrasser codeb...@gmx.net 
 javascript: wrote: 
  
  On selecting Save As... from the File menu the dialog sheet coming 
 down from the title bar is higher than the screen, so the buttons at the 
 bottom are unreachable. If I then minimize the save dialog (MacOS standard 
 feature) and re-expand it afterwards, I am able to reach the buttons, as 
 the dialog pushes up the frontmost BBedit window moving the title bar 
 beyond the upper display border. After that the controls in the title bar 
 of that window are unreachable until I close and reopen it. 
  
  I use BBEdit 11.0.1 (3486) on Yosemite (10.10.1) 
  
  -- 
  This is the BBEdit Talk public discussion group. If you have a 
  feature request or would like to report a problem, please email 
  sup...@barebones.com javascript: rather than posting to the group. 
  Follow @bbedit on Twitter: http://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+un...@googlegroups.com javascript:. 
  To post to this group, send email to bbe...@googlegroups.com 
 javascript:. 
  BBEditSaveDialog.pdf 



-- 
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: http://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.


Re: save dialog higher than window

2014-12-15 Thread Patrick Woolsey

On 12/15/14 at 5:51 PM, markchag...@gmail.com (Mark Hagers) wrote:

I have that issue, I'm happy to hear that it's already fixed, 
when will the update be released?


The next update will be available soon. :-)

Next, please note the below change will *not* automatically 
return the Save panel to its default size (which we can't 
reliably do from within the app):


   *  Added some code to work around a bug in OS X 10.10
  (`18785168/18701840`) in which the height of the Open 
and Save
  panels would creep by 22 pixels each time, until the 
bottom edge

  of the panel was off screen and inaccessible.

Instead, what this change will do is prevent the Save panel from 
growing out of control again after you have reset it by issuing 
this Terminal command:


defaults delete com.barebones.bbedit NSNavPanelExpandedSizeForSaveMode


Regards,

 Patrick Woolsey
==
Bare Bones Software, Inc. http://www.barebones.com/

--
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: http://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.


Re: another TOC-regex related question

2014-12-15 Thread Vlad Ghitulescu
Hi, Rick!


That works! Thanks!

I have one question:


 Am 15.12.2014 um 07:53 schrieb Rick Gordon li...@rickgordon.com:
 
 --But you'd probably capture it with a selection.

How you do this in AppleScript?

Thanks again!


Regards,
Vlad



-- 
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: http://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.