Nested Placeholders in Clippings?

2011-08-14 Thread Sorcer Code
Hey folks,

I'm trying to achieve something like this:
<#*
/**
*   #placeholderstart#comment on this variable
object#placeholderend#
*
*   @use #placeholderstart#TABLE_NAME#placeholderend#
*/
var #insertion#$myVar="";
#>

(the above obviously doesn't work), but what i want to do is the
following, I have the whole portion selected on landing (i.e from <#*
to the very last #>), if i hit a tab it proceeds to the immediate
placeholder i.e. #placeholderstart#, and so on.

if however at the very beginning instead of hitting tab, i hit delete,
then the whole thing get's knocked off. Is this possible?

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


BBEdit 10.0.1 won't use allow bold fonts as editor defaults

2011-08-14 Thread jeffkirk1
Howdy,

Just upgraded to BBEdit 10.0.1 and immediately noticed that my
editor's default font, Bitstream Vera Sans Mono Bold, was showing up
as Bitstream Vera Sans Mono Roman. I can apply that font to the
document using the Fonts palette (Cmd-T), but even though it is
selected as a bold type in the editor preferences, it always shows up
as Roman.

In fact, I tried every monospaced font on my system (I have seven or
eight of them) and they all exhibit this behavior. I can work around
it but would prefer that it be fixed. :-)

PS: until 10.0.1 became available on the App Store I'd always bought
it directly from Bare Bones. Using Lion 10.7, and this happens on all
three of the machines on which I use BBEdit.

Jeff Kirk

-- 
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: FTP/SFTP Browser shows two "folders" in every directory

2011-08-14 Thread Govinda
> In addition, there is no harm in using ./something in lieu of just
> something. In fact, there are cases where you HAVE TO use the
> ./something form because the plain something will not work. I find it
> is simpler to always use ./ to avoid these cases.


Herb and Robert, I really appreciate your replies.. because it
answered some questions I had while I am learning some more of the
command line these days.. (just as I need something.. to further
stumble my way through to the next step in what I am *really* trying
to do ;-)

I really want to ask more questions here .. but perhaps BBedit users
will (rightly) feel I am going too OT.  (Like WHY does it not work to
just be in the right directory and type the name of a command?; why
does the command have to have the './' first?  I guess I need to find
a good CL forum and ask about what you meant Herb, when you referred
to "PATH"?

Thanks
-Govinda

-- 
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-14 Thread Tim Lahey
On Fri, Aug 12, 2011 at 8:24 PM, Robert A. Rosenberg  wrote:
>
> 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.

That doesn't work. If I manually delete a non-coloured \end and then
type it out, everything works. As soon as the new \ character is
typed, BBEdit starts the correct colouring.

In each chapter of my thesis (that I've checked), every \end{equation}
isn't coloured, but every \end{figure}, \end{eqnarray}, and
\end{enumerate} is coloured correctly, so it seems to be a problem
specifically with that environment.

Cheers,

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: 


Re: FTP/SFTP Browser shows two "folders" in every directory

2011-08-14 Thread Doug McNutt
At 13:52 -0700 8/14/11, Govinda wrote:
>I really want to ask more questions here .. but perhaps BBedit users
>will (rightly) feel I am going too OT.  (Like WHY does it not work to
>just be in the right directory and type the name of a command?; why
>does the command have to have the './' first?  I guess I need to find
>a good CL forum and ask about what you meant Herb, when you referred
>to "PATH"?

Bare Bones really needs a special mailing list for BBedit worksheets.  Your 
questions would be fully appropriate there and I certainly recommend that you 
get into worksheets for your future travels into Terminal land.

When you start up a terminal session the shell "hashes" the commands it knows 
about. It looks at the current value of your $PATH environment variable, which 
is a colon separated list of directories in which it expects to find tools, and 
takes note of all of the executable files it finds.  It's that hash that is 
used when you type a command name.  The command, echo $PATH, tells all.

It's a relic of the days when building the hash was a slow thing to do and 
there was an advantage in doing it only once.  In the c-shell - Apple's 
favorite in their MPW shell of the classic OS - there is a rehash command that 
will ask the shell to repeat the task.

By providing a full path for an executable, as you do when you prepend ./ to a 
filename in the current directory you tell the shell exactly what to execute 
and the hash is ignored.

You can change the $PATH variable which is just another environment variable.  
In my $HOME/.tcshrc I add to the default path with this:

setenv PATH $HOME/bin:$PATH

which adds a directory "bin" that I keep in my home directory in front of the 
default.  It's also possible to add "." to your path which would include any 
current directory but that's considered a bad thing to do for reasons involving 
security.

And yes.  The c-shell is deprecated these days but I use MPW on my older Macs 
and I like to keep things more or less the same on OS neXt.  You can do 
everything in bash just as well. Some say better.

If you're an AppleScripter - BBEdit is pretty good at that - you just might 
want to muck with the PATH that "do shell script" uses.  In 
$HOME/.MacOSX/environment.plist you can reset your PATH variable so that it  is 
honored globally, even when you start up a BBEdit worksheet..

-- 

--> A fair tax is one that you pay but I don't <--

-- 
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: FTP/SFTP Browser shows two "folders" in every directory

2011-08-14 Thread Robert A. Rosenberg
At 13:52 -0700 on 08/14/2011, Govinda wrote about Re: FTP/SFTP 
Browser shows two "folders" in every directory:


I guess I need to find a good CL forum and ask about what you meant 
Herb, when you referred to "PATH"?


When you issue a command, there needs to be a location where the 
system looks for the command. ./command says to look in the current 
directory. What PATH does is provide a list of directories to look in 
(in sequence) until the command is located. This way you can issue 
commands that are in different locations and not need to inform the 
system where to look for the current command you are issuing.


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


BBEdit 10 license

2011-08-14 Thread Peter Mount
Hi

My license in the trial for BBEdit 10 showed about 28 days left but after i
did an update it showed 30 days left.

Is this a bug or is it by design? Although I'm thinking of paying for the
license when I next get paid anyway.

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: FTP/SFTP Browser shows two "folders" in every directory

2011-08-14 Thread John Delacour

At 16:04 -0600 14/08/2011, Doug McNutt wrote:

If you're an AppleScripter - BBEdit is pretty good at that - you 
just might want to muck with the PATH that "do shell script" uses.


And you might very well not.  'do shell script' defaults to the root. 
All you need to do is begin the script with "cd;" to go home.


do shell script "cd; ls -al"

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: BBEdit 10 license

2011-08-14 Thread Morbus Iff
> My license in the trial for BBEdit 10 showed about 28 days left but after i 
> did an update it showed 30 

FWIW, I can confirm this. Happened to me too.

-- 
Morbus Iff ( earth? shxt and scrambled eggs. earth? )
http://www.disobey.com/ and http://www.disobey.com/wiki/
twitter: @morbusiff / skype: morbusiff / irc.freenode.net, Morbus
An O'Reilly author and blogger: http://www.oreillynet.com/pub/au/779

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