OFFLIST :: Re: Greedy GREP

2011-08-12 Thread Christopher Stone
On Aug 12, 2011, at 23:11, Warren Michelsen wrote:
> I must be misunderstanding how {1}? works.

__

Hey Warren,

Document Body:

time time time time time time time time time time time time 

Find String:

(time ){2}

Your explanation isn't bad, but it would be much better to provide a real data 
sample.  Without seeing same there are a few too many variables.

Here though is an approximation:

Find String:

(?s)(time : .+?)(?=time : )((time : .+?)(?=time : ))(time : .+?)(?=startTime :)

Replace String:

\2

Ronald will no doubt come up with something brilliant, and JD will likely come 
up with a nice Perl filter.

:)

--
Best Regards,
Chris

-- 
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

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: 


Greedy GREP

2011-08-12 Thread Warren Michelsen
I must be misunderstanding how {1}? works.

I have documents that contain three instances of lines starting with "time : "

With these documents, I need to do two things:

1) eliminate from the first instance  of ^(time : ) up to but not including the 
second instance; and

2) eliminate the third instance of ^(time : ) and everything after it up to but 
not including the line starting with "startTime : "

I would expect (^time : (?s).*) to match the entire document and it does. 

So where do I place the {1}? to limit the find to the second, not third 
instance of ^time : ?

Using "(^(time : ){1}?(?s).*)^time" selects up to the third ^time.



-- 
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

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: 


Re: auto-save on preview?

2011-08-12 Thread Christopher Stone
On Aug 12, 2011, at 10:08, blinde wrote:
> I just don't have any room to breathe until into next week... but could 
> really use this functionality now. if anyone can forward how i would do this 
> in applescript, i'll take it from there... thanks.

__

Hey Bruce,

Script Name: Markup•Preview in BBEdit.scpt

Script Path: ~/Library/Application Support/BBEdit/Menu Scripts/Markup•Preview 
in BBEdit.scpt

This should save every time you use the keyboard shortcut or select the menu 
item.

Let me know if it doesn't do what you want.

Props to Rich and Patrick; the example script in the manual wasn't hard to 
figure out.

--
Best Regards,
Chris


using terms from application "BBEdit"
  
  on menuselect(menuName, itemName)
if menuName = "Markup" and itemName = "Preview in BBEdit" then
  
  set weHandledCommand to true
  
  try

tell document of text window 1 to save
set weHandledCommand to false

  on error errMsg number errNum
set sep to "=="
set e to sep & return & "Error: " & errMsg & return & sep & return ¬
  & "Error Number: " & errNum & return & sep
beep
display dialog e

  end try
  return weHandledCommand
end if
  end menuselect
  
  on postmenuselect(menuName, itemName)
-- This is called after the application has processed the command.
  end postmenuselect
  
end using terms from


-- 
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

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: 


ASCII Comment Generator

2011-08-12 Thread Bill Spivey
I've created a webpage that generates what I call ascii graphic comments like 
the one below.   You're welcome to try it out at 
http://whs3rd.burlyhouse.net/cmn/commentx.t

The core functionality is about 500 lines of C-like code that I'd be interested 
in porting to a BBEDIT text handler if there's a reasonable learning curve for 
doing so.   Can anyone advise me with a sample of what a text-handler or other 
kind of BBEDIT extension looks like?

// 

//  \   |   /  __ _ 
   |
// ___ /   __(  (  )_|_)
|  |
//   _(   )___\ | /  _(  (   )   |   ._  _  _|_ _|_   _  _   _| 
 _  |  |
// _( )__  _(_() |   |  (/_  |_  |_ \/   (_ (_) (_| 
(/_ o  |
//(  )(()   /   
   |
//   (()__(   ()
   |
//  ( __( ) ( (   )  Use the form below to design 
attractive   |
// (___  _ ___) \comments for your source code. 
Choose a   |
///| \   graphic image from the library, 
specify a |
// short banner for display  in large ascii type, and any regular-type 
commentary, and |
// let the generator do the work! This site borrows from the work of fine ASCII 
   |
// artists from all over the world and their contribution  is gratefully 
acknowledged  |
// below. You can see more great ASCII line art at 
http://www.ascii-art.de/ascii/  |
// 


ASCII COMMENT GENERATOR

Language


Graphic
Graphic on Right
Use Mirror Image



Banner (large type)
Extra White Space

Commentary (plain text only)


Enclose comment in a box
Debug





-- 
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

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: 


Re: Incrementing numbers in a rectangular selection

2011-08-12 Thread Christopher Stone
On Aug 12, 2011, at 11:50, John Delacour wrote:
> Place the cursor anywhere in a line consisting of "variable1"

__

Hey John,

The Perl is nice - and terse as usual.  :)

Unfortunately the line content is not propagated on my system.  Starting with 
the cursor in the variable line the variable gets eaten and the result:

someVariable
-->
1
2
3
4

BBEdit should be using Perl v5.12.3 on my machine.

--
Chris

-- 
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

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: 


Re: SVN password entry in BBEdit 10?

2011-08-12 Thread Will Mayall
I downloaded a new copy from the SVN server and everything now works.

-- 
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

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: 


Re: Using BBEdit with XCode 4.1 as external editor...

2011-08-12 Thread LuKreme
On Aug 12, 2011, at 16:34, Rich Siegel  wrote:
> However, double-clicking on an error in Xcode does not open the file and line 
> in BBEdit, nor are any previously working parts of the old external-editor 
> interface still supported.

Wow. That's a pretty sucky bug. Hope they fix it.

-- 
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

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: 


Re: svn: Can't get password

2011-08-12 Thread Watts Martin

arie van boxel wrote:


Open a terminal window and cd to the directory where your BBEdit project
lives.
Then type something like*svn status -u*.
Subversion will now ask for your password. Enter it and you're done!
Hope this helps other BBEdit/Lion users.


This did it for me, thanks! I'm not on Lion, so it's a quirk in whatever 
new way BBEdit is using Subversion, I guess. (I found the old way where 
you had to set the root in Preferences a lot quirkier, I have to say!)


--
Watts Martin 

--
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

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: 


Re: LaTeX language colouring

2011-08-12 Thread Robert A. Rosenberg
At 15:38 -0400 on 08/12/2011, Tim Lahey wrote about Re: LaTeX 
language colouring:



It kind of fixes the problem. It works fine for \begin \end pairs when
I type them out, but I have a several \end tags that aren't coloured.
All my figure, enumerate, and eqnarray environments are properly
coloured, but none of the pre-existing equation environments are.
They're fine when I type a new one, but not when I open the document.

Thoughts?


This might be cheating but how about doing a global find/replace of 
/end with /end. This hopefully should treat the "replacement" /end as 
being typed and thus cause it to be colored.


--
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

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: 


Re: [ANN] BBEdit Clippings Clippings

2011-08-12 Thread oliver
Can't believe I never thought of this myself...

-- 
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

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: 


Re: System resources

2011-08-12 Thread Peter Mount
Thanks

This is getting to be a real issue when I use Aptana and start up a virtual
machine at the same time. Apart from that I've also discovered one other
thing I like about BBEdit 10 so I can see myself paying for the license.

Peter Mount

On Sat, Aug 13, 2011 at 12:59 AM, Steve deRosier  wrote:

> I haven't tried BBEdit 10 yet, nor have I done objective measurements,
> but based on the load time, generally sluggishness of my entire system
> and HDD trashing when running Eclipse, I'd say that BBEdit's use of
> system resources are a very small fraction of Eclipse's.  Eclipse has
> always been a pig when it comes to resources.  In part due to the Java
> VM and general architecture of the system.
>
>
>
>
>
> On Fri, Aug 12, 2011 at 2:48 AM, Peter Mount  wrote:
> > Hi
> >
> > Does BBEdit 10 uses much less system resources than Aptana or Eclipse
> > with phpeclipse?
> >
> > Thanks
> >
> > Peter Mount
> >
> > --
> > 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
> > 
> > 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
> "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
> 
> 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 
"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

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: 


Re: Using BBEdit with XCode 4.1 as external editor...

2011-08-12 Thread Rich Siegel

On Friday, August 12, 2011, detayls  wrote:


How do I configure my new BBEdit 10 to be the external editor for
XCode 4.1?


Xcode 4.x doesn't support the specification of editors for file 
types the way previous versions used to. Instead, you tell the 
Finder that you want BBEdit to be the default application for 
files of a given type (using the "Get Info" window, selecting 
BBEdit from the popup, and using the "Change All" button), and 
then use the "Open in External Editor" command on the Xcode 
contextual menu for items in the project navigator.


However, double-clicking on an error in Xcode does not open the 
file and line in BBEdit, nor are any previously working parts of 
the old external-editor interface still supported.


(Radar 9111936)

R.
--
Rich Siegel Bare Bones Software, Inc.
  

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


--
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

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: 


Using BBEdit with XCode 4.1 as external editor...

2011-08-12 Thread detayls
How do I configure my new BBEdit 10 to be the external editor for
XCode 4.1?

Thanks.

David

-- 
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

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: 


Has anyone already made a Cisco fwsm/asa language module for syntax coloring?

2011-08-12 Thread sempai
hello,

I've recently purchased BBEdit and one thing I miss about vim is the
syntax coloring module for Cisco fwsm/asa/pix firewalls.

It's possible someone already has one they're working on (can I see
it?!) or has an easy way to convert vim's syntax lists into BBEdit
language modules, but I didn't see anything quite like that on the
BBEdit wiki and elsewhere on the Internet.

If this isn't the best place to request assistance when I inevitably
hit the wall, please aim me elsewhere.


//e

-- 
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

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: 


Re: BBEdit Clippings Clippings

2011-08-12 Thread Frederick
Nice on Ryan! Thanks.

Frederick

-- 
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

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: 


Re: Is there no longer a palette for simple HTML formatting?

2011-08-12 Thread John Delacour

At 12:53 -0700 12/08/2011, Alain Paradis wrote:



There is a paletter. It took a lot of clicking before I found it.

Go Window [menu], then Palettes. Then the hidden fact is that "HTML
Markup Tools" is clickable. That'll give you the palette I'm guessing
you're looking for.


I think you'll also find the default clipping listed here



extremely useful. Place the folder "Clippings" in 
~/Library/Application Support/BBEdit.


  For some reason I had to download and install the folder.  Once you 
have opened the Clippings palette and selected HTML.html as the 
active set you have the option of inserting the clipping by 
double-clicking, by selecting and clicking 'run', by selecting from 
the Clippings menu or, which is my preference, dragging the clipping 
from the pallete to the document.  You can also assign 
key-equivalents.


So far as I can see this is far more convenient than using the Markup 
Tools palette or any methods now obsolete and you can create new 
clippings to supply any deficiency in the default set.


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

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: 


Re: I Want My Modal Edit Boxes Back!

2011-08-12 Thread Alain Paradis
+1

I must agree that you've added many steps to a simple task.

Can we put the old dialog content in the new "pop up" style dialog?
Please.

On Aug 7, 11:07 am, edac2  wrote:
> I thought I might have been a little harsh with the comment
> "completely useless", but after testing the samedialogbox in
> versions 9.6 and 10, I stand by that assessment. Unfortunately it
> doesn't look like this forum allows image uploads so that I can
> illustrate my point. But as a for instance, I selected a word that I
> wanted to add a hyperlink to by pressing command-option-a. In BBEdit
> 9.6, a beautiful modaldialogbox opens up. The first field is for
> Href, very logically. There are pulldowns for Recent URLs, Current
> Folder and Scheme, and fields for ID/Name, Title and Target. The non-
> modal equivalent in BBEdit 10 has one field with a pulldown for
> "accesskey, class, contentedible, contextmenu and dir". At the top
> right is a weird icon that expands the option window to show more
> options (if you move your window, thedialogbox disappears, by the
> way). The expanded window has three fields for (1) id, (2) class and
> (3) href (why third?!), and a 4th field with no label is the original
> field with the pulldown options. There are no options like "recent
> URLs", no warning buttons to click, no targets to select. And it's all
> very small and precious compared to the originaldialogbox. This is
> definitely a step backward in functionality.

-- 
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

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: 


Re: BBEdit Clippings Clippings

2011-08-12 Thread LuKreme
On Aug 12, 2011, at 10:36, Ryan Wilcox  wrote:

> I present the BBEdit Clippings set for creating BBEdit Clippings

I officially owe you a beer (or equivalent).

-- 
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

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: 


Re: Is there no longer a palette for simple HTML formatting?

2011-08-12 Thread Alain Paradis
There is a paletter. It took a lot of clicking before I found it.

Go Window [menu], then Palettes. Then the hidden fact is that "HTML
Markup Tools" is clickable. That'll give you the palette I'm guessing
you're looking for.

I hope this helps.

On Jul 20, 7:48 pm, Rich Siegel  wrote:
> On Wednesday, July 20, 2011, dinkypumpkin 
> wrote:
>
> >The oldAnchordialogand equivalents have been 86-ed as well (also in
> >the release notes), and the new markup panel thingy doesn't appear to
> >copy the selection into the href attribute value.
>
> If you haven't already, please take a moment to send that in to
> support so that it gets a case number and I don't forget to deal
> with it.
>
> Thanks,
>
> R.
> --
> Rich Siegel                                 Bare Bones Software, Inc.
>                       
>
> Someday I'll look back on all this and laugh... until they
> sedate me.

-- 
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

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: 


Re: LaTeX language colouring

2011-08-12 Thread Tim Lahey
On Fri, Aug 12, 2011 at 12:57 PM, Fritz Anderson
 wrote:
>
> Not any more. 10.0.1 final has been released, and it fixes the problem.

It kind of fixes the problem. It works fine for \begin \end pairs when
I type them out, but I have a several \end tags that aren't coloured.
All my figure, enumerate, and eqnarray environments are properly
coloured, but none of the pre-existing equation environments are.
They're fine when I type a new one, but not when I open the document.

Thoughts?

-- 
Tim Lahey
PhD Candidate, Systems Design Engineering
University of Waterloo
http://about.me/tjlahey

-- 
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

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: 


Re: LaTeX language colouring

2011-08-12 Thread Tim Lahey
On 2011-08-12, at 9:54 AM, Seth Dillingham  wrote:

> On Aug 12, 2011, at 1:38 AM, Tim Lahey  wrote:
>
>> I've noticed that the LaTeX language colouring isn't colouring \end
>> commands in the same manner as \begin. It makes things a bit harder to
>> read since the \end tag blends into the subsequent paragraph.
>
> Is it never working correctly, even when you first open the doc (before 
> editing it)? A bug was just fixed for this which is available in the current 
> pre-release version.
>

It's never working correctly. I'm glad to hear that this is a bug (so
it can be fixed).

Thanks,

Tim.

-- 
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

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: 


[ANN] BBEdit Clippings Clippings

2011-08-12 Thread Ryan Wilcox
Hello all,

Lately I've been creating a lot of clippings. Today I got frustrated
with how hard[1] clippings are to create, and decided I was going to
do something about it.

I present the BBEdit Clippings set for creating BBEdit Clippings:

http://github.com/rwilcox/bbedit_clippings_clippings

Never look up the clippings placeholder / substitution table in the
BBEdit User Guide *again*!

Let a thousand Clipping sets bloom,
_Ryan Wilcox

Footnotes
  [1] "Memorization is hard, let's go shopping!"

-- 
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

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: 


Project auto-refresh disk contents?

2011-08-12 Thread Frank Marion
Is there a way to get the BBEdit project list to auto-refresh when a file is 
added to the disk? I'm thinking mainly images here, since 

a) they are usually added by another application and 
b) the only way to get the image dimensions automatically entered is to drag 
from the project window.

Goodness I wish the select image tag in the markup dialogue automatically 
inserted the height and width of the image.

Thanks!

-- 
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

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: 


Re: svn: Can't get password

2011-08-12 Thread arie van boxel
I also got a 'svn: Can't get password' error in BBEdit 10 and OS X Lion.
The solution for me is simple:
Open a terminal window and cd to the directory where your BBEdit project 
lives.
Then type something like* svn status -u*.
Subversion will now ask for your password. Enter it and you're done!
Hope this helps other BBEdit/Lion users.

-- 
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

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: 


Re: auto-save on preview?

2011-08-12 Thread blinde
chris (and others) -

thanks for the tip/reminder... rtfm, pg. 280... got it!  8-)

so... the real problem is that i am slammed with multiple deadlines,
and having to relearn habits learned over a few years that would
normally help me get everything done. between 10 and life, i'm now
having a hard time keeping up.

i just don't have any room to breathe until into next week... but
could really use this functionality now. if anyone can forward how i
would do this in applescript, i'll take it from there... thanks.

also... the manual references "documentShouldSave: called when the
application is trying to determine whether a
given document should be saved." does bbedit ask whether
documentShouldSave when previewing a document? is this a viable hook
for what i want to accomplish and if so, how would i use it?

thanks again,
bruce













On Aug 11, 8:52 pm, Christopher Stone 
wrote:
> On Aug 11, 2011, at 09:59, blinde wrote:
>
> > i'm trying not to bug the guys while they're dealing with larger issues... 
> > but is "auto-save on preview" gone in 10?...If so, any simple workarounds?
>
> __
>
> Hey Bruce,
>
> I don't see a setting anywhere.  It appears that BBEdit is still attachable, 
> so one could attach an Applescript to the Preview menu item.
>
> --
> Best Regards,
> Chris

-- 
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

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: 


Re: LaTeX language colouring

2011-08-12 Thread Fritz Anderson
On 12 Aug 2011, at 11:52 AM, LuKreme wrote:

> On Aug 12, 2011, at 7:53, Seth Dillingham  wrote:
>> A bug was just fixed for this which is available in the current pre-release 
>> version
> 
> There's a current pre-release version?

Not any more. 10.0.1 final has been released, and it fixes the problem.

— F

-- 
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

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: 


Re: Incrementing numbers in a rectangular selection

2011-08-12 Thread LuKreme
On Aug 12, 2011, at 10:50, John Delacour  wrote:
> tell application "BBEdit"

What are you, some sort of AppleScript ninja?

;)

(yes, I know, thus the winky smile)

-- 
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

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: 


Re: LaTeX language colouring

2011-08-12 Thread LuKreme
On Aug 12, 2011, at 7:53, Seth Dillingham  wrote:
> A bug was just fixed for this which is available in the current pre-release 
> version

There's a current pre-release version?

-- 
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

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: 


Re: Incrementing numbers in a rectangular selection

2011-08-12 Thread John Delacour

At 00:54 -0500 12/08/2011, Christopher Stone wrote:

Script one will operate on the selected variable name OR let you 
enter a variable name IF no text is selected...


Place the cursor anywhere in a line consisting of "variable1"

This script supposes you want n similar variables with incrementing 
indices.  You fill in n in the dialog and the required lines are 
created:


variable1
variable2
variable3
variable4

What's more, the same script could be used for far more complicated 
operations.  No need to fill down, no need to spend waste seconds 
making a rectangular selection.  Quick, short and recyclable.



tell application "BBEdit"
  set _currentline to the startLine of the selection
  tell the front document to select line _currentline
  set _s to the contents of line _currentline of the front document
  tell me to set _dd to display dialog "
  Create how many variables in series '" & _s & "'" default answer "4"
  set _n to text returned of _dd
  set _perloutput to do shell script "perl <<'END'
$count = " & _n & ";
$s = qq~" & _s & "~;
$_ = " & _s & ";
/([^\\d]+)(\\d)/i  and ($varname, $n) = ($1,$2);
for (1..$count) {print qq~$varname$_\\n~}
END"
  set the selection to _perloutput
  select insertion point after selection
end tell


--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

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: 


Re: System resources

2011-08-12 Thread Steve deRosier
I haven't tried BBEdit 10 yet, nor have I done objective measurements,
but based on the load time, generally sluggishness of my entire system
and HDD trashing when running Eclipse, I'd say that BBEdit's use of
system resources are a very small fraction of Eclipse's.  Eclipse has
always been a pig when it comes to resources.  In part due to the Java
VM and general architecture of the system.





On Fri, Aug 12, 2011 at 2:48 AM, Peter Mount  wrote:
> Hi
>
> Does BBEdit 10 uses much less system resources than Aptana or Eclipse
> with phpeclipse?
>
> Thanks
>
> Peter Mount
>
> --
> 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
> 
> 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 
"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

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: 


Hide toolbar by default

2011-08-12 Thread ascarter
I believe in BBEdit 9, there was an option to enable/disable the toolbar by 
default. This option was separate from the items in the toolbar. I had it 
set such that by default my toolbar was off but if I show it, I would get 
all the available items in the toolbar (document options, proxy icon, etc). 
In BBEdit 10, it seems like it only can be off by default if you turn off 
both proxy and text options items or use the menu item. Is there an expert 
preference to do this?

-- 
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

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: 


Re: LaTeX language colouring

2011-08-12 Thread Seth Dillingham
On Aug 12, 2011, at 1:38 AM, Tim Lahey  wrote:

> I've noticed that the LaTeX language colouring isn't colouring \end
> commands in the same manner as \begin. It makes things a bit harder to
> read since the \end tag blends into the subsequent paragraph.

Is it never working correctly, even when you first open the doc (before editing 
it)? A bug was just fixed for this which is available in the current 
pre-release version.

-- 
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

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: 


Re: Behavior of Find/Multi file Find - need help changing it

2011-08-12 Thread Bruce Van Allen

On 2011-08-11, Christopher Stone wrote:

On Aug 11, 2011, at 13:01, Derrick Peavy wrote:
In prior versions (8 and below I think), when I performed a 
find (CMD F), the find usually started at the top of the file. 
Not anymore. I can open a fresh file and if the thing I want 
to find is at the top and the file opens with the cursor at 
the bottom, I get the prompt (sound) that nothing has been 
found. I think have to "Find All" to find just the one thing I 
need. Annoying.

__

Hey Derrick,

Bruce has covered that pretty comprehensively, but I'd make one 
small change to his script:


tell application "BBEdit"
tell front text window
select insertion point before character 1
end tell
end tell


Yes, that's better. I couldn't remember what to do with 
"insertion point" -- just "select" where you want it.


Thanks, Chris, for posting so many useful scripts! And to John 
Delacour, too, for his demos of using Perl for text processing. 
I hope newcomers to BBEdit are seeing how capable BBEdit is for 
leveraging various languages and constructs (like regular 
expressions) from the wide world of programming. Also hoping 
that they see how helpful this community can be for those who 
want to learn.



   - Bruce

_bruce__van_allen__santa_cruz_ca_

--
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

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: 


Re: Windowless AppleScript?

2011-08-12 Thread Christopher Stone
On Aug 12, 2011, at 07:16, Walter Ian Kaye wrote:
> Well I was thinking it would be a BBEdit object, just not a 'text document' 
> container. Maybe 'text blob' or something; I dunno where it would fit in the 
> object model hierarchy; I suppose right between 'application' and 'text'.
__

Hey Walter,

This works:

set textList to "
three
four
five
"

tell application "BBEdit"
sort lines textList
end tell

--
Best Regards,
Chris

-- 
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

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: 


Re: Incrementing numbers in a rectangular selection

2011-08-12 Thread Patrick James
Hi

Yes I use a Numbers to do this myself.

Another way is to open a new BBEdit text document, paste the unnumbered 
variable names in there, then use "Add/Remove Line Number" in the "Text Menu. 
This will add line numbers at the beginning and you can just select them in a 
rectangular fashion and move them to wherever you like.

Patrick

On 12 Aug 2011, at 02:14, Lewis Kirk wrote:

> Uh, this is not a BBEdit solution, but in a spreadsheet program (Excel, 
> OpenOffice), you can type in 'variable1' in a cell, then type in 'variable2' 
> in the cell below it, select the cells, and then pull down as far as you 
> want. The number will increment as you pull. Then copy and paste.
> 
> I wrote an Applescript to do this until I discovered the spreadsheet.
> 
> -- 

-- 
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

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: 


Re: Windowless AppleScript?

2011-08-12 Thread Walter Ian Kaye
At 10:34 p -0500 08/11/2011, Christopher Stone didst inscribe upon an 
electronic papyrus:



On Aug 11, 2011, at 03:24, Walter Ian Kaye wrote:
 I just had a crazy thought. Hey BareBones, what do you think of a 
notion of being able to harness BBEdit to manipulate text *without* 
a window? Like, instead of 'tell text document 1' it could be 'tell 
someTextObject'?


__

I don't think it's crazy at all.  Some of BBEdit's events will 
operate on a non-BBEdit object.  I would like to see more capable of 
same.


Well I was thinking it would be a BBEdit object, just not a 'text 
document' container. Maybe 'text blob' or something; I dunno where it 
would fit in the object model hierarchy; I suppose right between 
'application' and 'text'.


--
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

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: 


Re: Question on attaching scripts to events

2011-08-12 Thread Don Southard
That's a great idea. A droplet never even a occurred to me but it is
an excellent solution. Thank you for taking the time to respond.

Don

Sent from my iPhone

On Aug 11, 2011, at 11:19 PM, Christopher Stone
 wrote:

> On Aug 11, 2011, at 08:26, Don Southard wrote:
>> Not as quick drag-n-drop but a solution none the less. Any other thoughts?
> __
>
> Hey Don,
>
> If you really want drag and drop you can create a script droplet and put it 
> in the Dock, on your Desktop, or in the Finder Toolbar.
>
> 
> on run
>  beep
>  display dialog "This is a drag & drop application!"
> end run
>
> on open (fileList)
>  try
>
>if length of fileList > 1 then
>  error "Only One Image Allowed!"
>else
>  set imageFilePath to quoted form of (POSIX path of (item 1 of fileList))
>  set exifData to do shell script "exiftool " & imageFilePath
>
>  tell application "BBEdit"
>activate
>tell front text window
>  set text of selection to exifData
>end tell
>  end tell
>
>end if
>
>  on error errMsg number errNum
>set sep to "=="
>set e to sep & return & "Error: " & errMsg & return & sep & return ¬
>  & "Error Number: " & errNum & return & sep
>beep
>display dialog e
>  end try
> end open
> 
>
> * ExifTool is a command-line executable:
>http://www.sno.phy.queensu.ca/~phil/exiftool/
>
> You can of course allow more than one image to be dragged.
>
> I have not done any file-type checking in this script.
>
> You could also change the run handler to allow clicking on the script in the 
> toolbar to act on the selected items in the Finder.
>
> There are many available options.
>
> --
> Best Regards,
> Chris
>
> --
> 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
> 
> 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 
"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

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: 


LaTeX language colouring

2011-08-12 Thread Tim Lahey
Hi,

I've noticed that the LaTeX language colouring isn't colouring \end
commands in the same manner as \begin. It makes things a bit harder to
read since the \end tag blends into the subsequent paragraph. It's
clear that BBEdit knows about the \end tag since the folding works
fine. Is there a way to change the colouring so the \end tag is
coloured the same as \begin? I'm switching from TextMate to BBEdit so
I'm not familiar with BBEdit's method of handling colouring.

I'd appreciate any assistance people can provide.

Thanks,

Tim.

---
Tim Lahey
PhD Candidate, Systems Design Engineering
University of Waterloo
http://about.me/tjlahey

-- 
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

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: 


System resources

2011-08-12 Thread Peter Mount
Hi

Does BBEdit 10 uses much less system resources than Aptana or Eclipse
with phpeclipse?

Thanks

Peter Mount

-- 
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

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: 


Re: Behavior of Find/Multi file Find - need help changing it

2011-08-12 Thread Steve Kalkwarf
On Aug 12, 2011, at 12:33 AM, Christopher Stone wrote:

>> But also annoying is the find dialog box staying on screen until I close it. 
>> I use shortcuts when I write code, so I like having the box disappear.
> 
> I still prefer the old modal dialog as well, but we're sol on that one.  I've 
> just gotten used to pressing Command-W to ditch the dialog before continuing.


If you use the return key to start the search (instead of clicking the button), 
the window should dismisses itself.

Steve

-- 
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

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: 


Re: Incrementing numbers in a rectangular selection

2011-08-12 Thread Roland Küffner

Am 12.08.2011 um 12, 07:54 schrieb Christopher Stone:
> Script one will operate on the selected variable name OR let you enter a 
> variable name IF no text is selected.
...
> Script two allows you to write the params in BBEdit like so:

Hi, Chris,
thank you so much for the two scripts that go even beyond the built in 
"Add/Remove Line Numbers" functionality. I'll add them to my utility arsenal 
and make good use of them. I also learned a little about Applescript. I had a 
hard time trying to modify the instances of the selection, but your approach 
using text lists and item delimiters before setting the selected text seems 
elegant and easy - once you know it.

So, thank you again and have a nice day
Roland

-- 
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

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: