reoccurring navigation menus

2012-12-16 Thread Sambodhi Prem
Hi, 
I have a newbie question about coding html. 
I've decided to wean myself off Dreamweaver, but was wondering how to 
handle reoccurring items like navigation menus in BBEdit.
Up to now I have been using Dreamweaver's library function (.lbi), but 
what's the alternative if I were to use BBEdit exclusively?
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: Stop find-and-replace results notifications?

2012-12-16 Thread pim
On Sunday, December 16, 2012 3:25:14 AM UTC+1, Lee Hinde wrote:
 

> Me being lazy: does that turn off all notifications, or can you still get 
> the alert within BBEdit? I use the search and replace as a 'get a count' 
> sometimes.
>

Lee, good question. Well, at first I didn't see *any* notification after a 
Search and Replace, but then I figured that I had tried the expert pref 
setting that Tom Robinson mentions in this thread (which didn't seem to 
make a difference). Setting the bool in the expert pref command to YES 
indeed made the little alert at the top of the document reappear. This is 
pretty much what I'd like to see (and you too probably), so: stay off the 
expert pref setting and just shut the notifications down in the System 
Preferences.

-- 
-- 
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: reoccurring navigation menus

2012-12-16 Thread LuKreme
Sambodhi Prem opined on Sunday 16-Dec-2012@01:35:04
> Hi, 
> I have a newbie question about coding html. 
> I've decided to wean myself off Dreamweaver, but was wondering how to handle 
> reoccurring items like navigation menus in BBEdit.
> Up to now I have been using Dreamweaver's library function (.lbi), but what's 
> the alternative if I were to use BBEdit exclusively?

Well, there’s several. Clippings, for one.

You could also make your menu a separate file and load it via a server side 
include, but that’s pretty old-school anymore. I think the more common way (for 
non-dynamicly constructed pages) is to make it a separate file and use an 
iframe to load it.

-- 
'When you've been a wizard as long as I have, my boy, you'll learn that
as soon as you find anything that offers amazing possibilities for the
improvement of the human condition, it's best to put the lid back on and
pretend it never happened.' --The Last Continent


-- 
-- 
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: Stop find-and-replace results notifications?

2012-12-16 Thread Lee Hinde

On Dec 16, 2012, at 1:40 AM, p...@slamix.nl wrote:

> On Sunday, December 16, 2012 3:25:14 AM UTC+1, Lee Hinde wrote:
>  
> Me being lazy: does that turn off all notifications, or can you still get the 
> alert within BBEdit? I use the search and replace as a 'get a count' 
> sometimes.
> 
> Lee, good question. Well, at first I didn't see *any* notification after a 
> Search and Replace, but then I figured that I had tried the expert pref 
> setting that Tom Robinson mentions in this thread (which didn't seem to make 
> a difference). Setting the bool in the expert pref command to YES indeed made 
> the little alert at the top of the document reappear. This is pretty much 
> what I'd like to see (and you too probably), so: stay off the expert pref 
> setting and just shut the notifications down in the System Preferences.
> 


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: reoccurring navigation menus

2012-12-16 Thread Neil Faiman

On Dec 16, 2012, at 3:35 AM, Sambodhi Prem  wrote:

> I've decided to wean myself off Dreamweaver, but was wondering how to handle 
> reoccurring items like navigation menus in BBEdit.
> Up to now I have been using Dreamweaver's library function (.lbi), but what's 
> the alternative if I were to use BBEdit exclusively?


You definitely want to learn about BBEdit persistent includes. The persistent 
include is a pair of HTML comments, and every time you Markup > Update your 
document, the text between the comments is replaced by the content of the 
included file (so, for example, you can have your navigation menu in an include 
file -- update your entire site, and presto, the navigation menu is changed in 
every page. Even better, yje persistent include doesn't have to be plain HTML 
-- it can be a script (shell script, AppleScript, Perl, Ruby, or Python) that 
will *generate* the included HTML.

Regards,

Neil Faiman

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





Function Popup menu not working for Unix Shell Script files

2012-12-16 Thread Brad Ummer
I have a file with the following content:

function nameA(){
  Commands
}

function nameB(){
  Commands
}

If is set the file language to PHP, then the function popup menu lists the 
functions correctly. But if I set the file language to Unix Shell Script 
(which is actually what the file should be), then the function popup menu 
disappears. Is there a way to have the function popup menu display 
correctly for Unix Shell Script files? Note I'm still using version 9.6.3 
so if this is fixed in version 10 let me know and it will be time for an 
upgrade. 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: 





Is the old Find dialog really gone forever?

2012-12-16 Thread jh
I am a big fan of the old Find dialog and I used the secret command to get 
it back in version 9:

   defaults write com.barebones.bbedit FindDialog:UseOldSk00lFindDialog

but this apparently doesn't work in the (demo) version of 10.5 I'm using 
now.

Is this gone for good? I really might not upgrade to 10 if it is. I don't 
like change.

-- 
-- 
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 the old Find dialog really gone forever?

2012-12-16 Thread Fritz Anderson
On 16 Dec 2012, at 3:45 PM, jh  wrote:

> I am a big fan of the old Find dialog and I used the secret command to get it 
> back in version 9:
> 
>defaults write com.barebones.bbedit FindDialog:UseOldSk00lFindDialog
> 
> but this apparently doesn't work in the (demo) version of 10.5 I'm using now.
> 
> Is this gone for good? I really might not upgrade to 10 if it is. I don't 
> like change.

I hope we don't have to have this fight again. There must have been a couple of 
hundred messages on this list arguing (in some cases whinging) over it. 
Everybody said what they needed to say a year(?) ago.

Bare Bones (I do NOT speak for them) makes changes to BBEdit for reasons they 
believe good and sufficient. BBEdit follows a considered plan of what Bare 
Bones thinks the application should be. A disaster might have brought the modal 
Find dialog back; there has been no disaster. The dialog is not hidden; the 
code for it no longer exists. It is not coming back. The matter is not subject 
to a vote.

If a tool you use has a feature you need, and another does not, you are on the 
right track: Don't switch to the tool that won't do what you need. Have no 
regrets.

— 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: reoccurring navigation menus

2012-12-16 Thread Lawrence San
On Sun, Dec 16, 2012 at 2:03 PM, Neil Faiman  wrote:
> Even better, yje persistent include doesn't have to be plain HTML -- it can 
> be a script (shell script, AppleScript, Perl, Ruby, or Python) that will 
> *generate* the included HTML.

This is a little off-topic, but that brings up something I've been
wondering about. I use scripted clientside includes with BBEdit 9.6.3
running in Snow Leopard. However, the scripting language is JavaScript
-- not mentioned in your list above. This relies on the ancient JS/OSA
library from Late Night Software that AFAIK they abandoned years ago
-- but it still works for me. (Very awkward to edit, however, since
the version of AppleScript Editor I have, which is needed to compile
the scripts, barely works with JS anymore.)

Anyway, my question: If I were to upgrade to the latest version of
BBEdit, would the LNS library and my JS includes still work? How about
if I moved to Mountain Lion? (The latter is unlikely, since I prefer
Snow Leopard, but I'm still curious.) If my JS includes are totally
orphaned (i.e. prevent me from ever upgrading BBEdit again) then I've
been thinking about transmogrifying them into PHP server-side
includes, but that would be a bit of work since my PHP skills are a
lot weaker than my JS skills.

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