Re: Can someone explain ctags to me?
On Sep 6, 2:58 pm, Alex Satrapa gr...@goldweb.com.au wrote: On 6 Sep 2011, at 14:17, Oliver Taylor wrote: [✄..clipped .. ✄] 3) type bbedit --maketags . The important bit, of course, is that you'll need to repeat that process any time you modify your code. Now when you look at your code in BBEdit you'll see new colours for words corresponding to terms defined elsewhere. Right-click on the word to bring up the context menu, and you'll see an entry for definitions, which then presents a sub-menu of locations where the term has been defined. The --maketags option is mentioned in passing on p296 of the BBEdit User Guide. Search for ctags and you'll find plenty of other information about this service. Can someone think of any way this could be automated? Using the Unix Worksheet or some script that is aware of the current project location, anything... A:// Alex smime.p7s 2KViewDownload -- 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 http://groups.google.com/group/bbedit?hl=en 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
Re: BBEdit 10.0.2 (3087) pre-release
Thank you so much for the full screen bug fix, it was killing my workflow (or rather what i wished it to be). -- 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 http://groups.google.com/group/bbedit?hl=en 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
Re: Help with applescript for BBEdit formatting
Strange. I have a clipping set to do insert the desired returns, tabs, insertion point. However, The returns are not honored by the clipping. I can have 50 returns and 1 tab and the tab is honored but the returns are not. e.g. (pipe character is the insertion point) body|/body if I have the clipping set like so where r= return and t= tab: #indent#r t#INSERTIONr I would think that this should give me this: body | /body but instead I get this: body |/body I think that this use to work prior to v10 but I could be mistaken. Thanks, Rick -- 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 http://groups.google.com/group/bbedit?hl=en 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
Need a hint
OS X10.56.8 BBEdit 10.0.2 (3087) When I write an URL I always protect it by enclosing it with and i.e., http://www.mesa.azweather.com/ There is something that I do from time to time that cases the URL to turn blue. Any subsequent URLs also are blue. In addition, if I've previously written one or more previously, they also turn blue. All this blueness requires that thye URLs have the prefix and suffix. I love it! How do I do it all the time? --- Joe Walters If it's not on fire it's a software problem -- 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 http://groups.google.com/group/bbedit?hl=en 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
Re: Can someone explain ctags to me?
You could use cron/crontab: # man 5 crontab François On Sep 7, 2011, at 3:26 AM, Alex Popescu wrote: On Sep 6, 2:58 pm, Alex Satrapa gr...@goldweb.com.au wrote: On 6 Sep 2011, at 14:17, Oliver Taylor wrote: [✄..clipped .. ✄] 3) type bbedit --maketags . The important bit, of course, is that you'll need to repeat that process any time you modify your code. Now when you look at your code in BBEdit you'll see new colours for words corresponding to terms defined elsewhere. Right-click on the word to bring up the context menu, and you'll see an entry for definitions, which then presents a sub-menu of locations where the term has been defined. The --maketags option is mentioned in passing on p296 of the BBEdit User Guide. Search for ctags and you'll find plenty of other information about this service. Can someone think of any way this could be automated? Using the Unix Worksheet or some script that is aware of the current project location, anything... A:// Alex smime.p7s 2KViewDownload -- 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 http://groups.google.com/group/bbedit?hl=en 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 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 http://groups.google.com/group/bbedit?hl=en 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
Re: Help with applescript for BBEdit formatting
Try this: #INDENT#\r \r \t#INSERTION#\r -- 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 http://groups.google.com/group/bbedit?hl=en 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
Re: cannot enlarge fonts on workspace
Thanks Roland Roland, I tried your your idea, it worked like a charm. On Sep 5, 2011, at 10:46 PM, Roland Küffner wrote: Am 06.09.2011 um 6, 02:16 schrieb C. Fiddler: For folks with poor eyesight I would like to know if there is a method to enlarge fonts while coding a document. I searched preferences but this only allow change in the sidebar. Is there something I’am missing? If there is a solution, could you let me know? If you need to change the font size often you might use an applescript and assign it a keyboard shortcut: tell application BBEdit tell text window 1 set fs to display font size set display font size to fs + 1 end tell end tell To reduce the font size change the end of the fourth line to fs - 1. 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 http://groups.google.com/group/bbedit?hl=en 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 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 http://groups.google.com/group/bbedit?hl=en 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
Re: Need a hint
The something you're doing is switching the language of the document to Markdown. -- 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 http://groups.google.com/group/bbedit?hl=en 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
update file specification behavior changed in 10.0
A script that had been working seems to have broken with 10.0. The relevant script fragment is: set fullname to minutesFolder fname tell the active document of the front text window display dialog fullname save to file fullname update file fullname fullname is a string containing an HFS path, and the save to file works fine. However, the update file fails with BBEdit got an error: Can't make some date into the expected type. The scripting dictionary just says update file specification : file/folder to update Any suggestions? Thanks, 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 http://groups.google.com/group/bbedit?hl=en 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
Re: Can someone explain ctags to me?
See the BBEdit manual - attach an AppleScript to documentDidSave event. -- 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 http://groups.google.com/group/bbedit?hl=en 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
Re: Can someone explain ctags to me?
I have been playing around with this, I created the tags file in the root directory of my codebase but bbedit does not 'see it' (selecting 'Find Definition' from the menu does nothing and it does not appear in the contextual menu). Do I need to restart bbedit for the file to be picked up? Thanks François On Sep 6, 2011, at 7:58 AM, Alex Satrapa wrote: On 6 Sep 2011, at 14:17, Oliver Taylor wrote: Can someone explain ctags to me? I gather that it is a list of words which BBEdit looks for matches against when doing text coloring, populating the function menu, and completion - but beyond that I'm clueless. I tried to look at the ctags docs and knew instantly my kung-fu was too weak. The short, short version: 1) Open Terminal 2) cd to the directory where your code is 3) type bbedit --maketags . The important bit, of course, is that you'll need to repeat that process any time you modify your code. Now when you look at your code in BBEdit you'll see new colours for words corresponding to terms defined elsewhere. Right-click on the word to bring up the context menu, and you'll see an entry for definitions, which then presents a sub-menu of locations where the term has been defined. The --maketags option is mentioned in passing on p296 of the BBEdit User Guide. Search for ctags and you'll find plenty of other information about this service. Alex -- 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 http://groups.google.com/group/bbedit?hl=en 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
Re: Can someone explain ctags to me?
No you shouldn't need to restart BBEdit. Do you see a tags file in the root of your project? Are you running in project mode in BBEdit? You can also open the tags file (it's just text) and see that it has your symbols in 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 http://groups.google.com/group/bbedit?hl=en 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
Re: Can someone explain ctags to me?
And here's a script that you can run in BBEdit to build the tags file for the currently active project. I tried adding it as an attachment script for documentDidSave but it didn't seem to fire. https://github.com/ascarter/BBEdit-ApplicationSupport/blob/master/Scripts/Maketags.applescript -- 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 http://groups.google.com/group/bbedit?hl=en 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
Re: Help with applescript for BBEdit formatting
I had already tried to do the same. What's strange is if I add text after returns then the returns are honored, if there is no text after them then they are ignored. I'll have to go the applescript route until I figure out what is causing this to occur. I think it worked fine in v9.6.3. -- 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 http://groups.google.com/group/bbedit?hl=en 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
Need a bigger hint
On 7, 2011Jan, at 9:08 AM, Oliver Taylor wrote: The something you're doing is switching the language of the document to Markdown. Sorry. Need a more explicit hint. The word Markdown does not generate a response in Help. Tried Help Language and nothing leapt out at me. Looked at each menu item and nothing seemed appropriate. Thanks in advance --- Joe Walters If it's not on fire it's a software problem -- 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 http://groups.google.com/group/bbedit?hl=en 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
Re: Need a bigger hint
do a google search for markdown language bo On Wed, Sep 7, 2011 at 4:01 PM, Joe Walters yardb...@fastq.com wrote: On 7, 2011Jan, at 9:08 AM, Oliver Taylor wrote: The something you're doing is switching the language of the document to Markdown. Sorry. Need a more explicit hint. The word Markdown does not generate a response in Help. Tried Help Language and nothing leapt out at me. Looked at each menu item and nothing seemed appropriate. Thanks in advance --- Joe Walters If it's not on fire it's a software problem -- 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 http://groups.google.com/group/bbedit?hl=en 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 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 http://groups.google.com/group/bbedit?hl=en 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
Re: Can someone explain ctags to me?
On Wed, Sep 07, 2011 at 11:08:05AM -0700, ascarter wrote: No you shouldn't need to restart BBEdit. Do you see a tags file in the root of your project? Are you running in project mode in BBEdit? You can also open the tags file (it's just text) and see that it has your symbols in it. Its easy to miss the dot on the end but the command is bbedit --maketags . Or specify another directory. If you don't list the dot then bbedit silently does nothing. -- David Kelly N4HHE, dke...@hiwaay.net Whom computers would destroy, they must first drive mad. -- 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 http://groups.google.com/group/bbedit?hl=en 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
Re: Can someone explain ctags to me?
Not at my end, it created the tags file without a dot at the end of the command, it was silent though, maybe a verbose mode... François On Sep 7, 2011, at 4:25 PM, David Kelly wrote: On Wed, Sep 07, 2011 at 11:08:05AM -0700, ascarter wrote: No you shouldn't need to restart BBEdit. Do you see a tags file in the root of your project? Are you running in project mode in BBEdit? You can also open the tags file (it's just text) and see that it has your symbols in it. Its easy to miss the dot on the end but the command is bbedit --maketags . Or specify another directory. If you don't list the dot then bbedit silently does nothing. -- David Kelly N4HHE, dke...@hiwaay.net Whom computers would destroy, they must first drive mad. -- 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 http://groups.google.com/group/bbedit?hl=en 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 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 http://groups.google.com/group/bbedit?hl=en 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
Navigating methods
Hi all, At the top of the editors there's a small thing that allows navigating a source file by functions (probably other structural elements). Any ideas how I could get that thing to show up and take focus using a shortcut? I'm not able to figure out what's the corresponding editor functionality to associate it with a shortcut. many thanks in advance, A:// -- 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 http://groups.google.com/group/bbedit?hl=en 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
Installing Attachment Scripts
Hi, A kind BBEdit user (ascarter) has been kind enough to put together an AppleScript that trigger ctags [1]. Following the instructions in the BBEdit manual I've modified this script to have a on documentDidSave function that triggers makeTags. As per the manual, I've named the script Document.documentDidSave.scpt and saved it into my ~/Dropbox/Application Support/BBEdit/Attachment Scripts folder. But the script doesn't seem to be triggered at all. I've removed most of the code in the original and just left inside: on documentDidSave() display dialog BBEdit on documentDidSave buttons {Yes, No} default button 2 with icon 1 -- makeTags() end documentDidSave but still no results. Any ideas what I'm doing wrong? [1] https://github.com/ascarter/BBEdit-ApplicationSupport/blob/master/Scripts/Maketags.applescript -- 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 http://groups.google.com/group/bbedit?hl=en 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
Re: Navigating methods
Alex Popescu alexan...@mypopescu.com sez: At the top of the editors there's a small thing that allows navigating a source file by functions (probably other structural elements). Any ideas how I could get that thing to show up and take focus using a shortcut? I'm not able to figure out what's the corresponding editor functionality to associate it with a shortcut. That's the function menu (or function popup), and its default key equivalent is Control-Option-N. (If desired, you can adjust the latter under Navigation Bar within the Menus Shortcuts preference panel.) Regards, Patrick Woolsey == Bare Bones Software, Inc. http://www.barebones.com P.O. Box 1048, Bedford, MA 01730-1048 -- 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 http://groups.google.com/group/bbedit?hl=en 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
Re: Can someone explain ctags to me?
On Sep 7, 9:09 pm, ascarter ascar...@gmail.com wrote: And here's a script that you can run in BBEdit to build the tags file for the currently active project. I tried adding it as an attachment script for documentDidSave but it didn't seem to fire. https://github.com/ascarter/BBEdit-ApplicationSupport/blob/master/Scr... Minutes after posting a question related to this script I've figured it out: 1. name the script Document.documentDidSave.scpt 2. add the following code: on documentDidSave() makeTags() end documentDidSave 3. when saving the script make sure that it is saved as Script + Run only (nb: according to the documentation the script must be compiled and I assume Run only option means it is compiled) 4. done Thanks a lot, A:// -- 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 http://groups.google.com/group/bbedit?hl=en 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
Re: Installing Attachment Scripts
On Sep 8, 12:11 am, Alex Popescu alexan...@mypopescu.com wrote: Hi, A kind BBEdit user (ascarter) has been kind enough to put together an AppleScript that trigger ctags [1]. Following the instructions in the BBEdit manual I've modified this script to have a on documentDidSave function that triggers makeTags. As per the manual, I've named the script Document.documentDidSave.scpt and saved it into my ~/Dropbox/Application Support/BBEdit/Attachment Scripts folder. But the script doesn't seem to be triggered at all. I've removed most of the code in the original and just left inside: on documentDidSave() display dialog BBEdit on documentDidSave buttons {Yes, No} default button 2 with icon 1 -- makeTags() end documentDidSave but still no results. Any ideas what I'm doing wrong? [1]https://github.com/ascarter/BBEdit-ApplicationSupport/blob/master/Scr... As always, seconds after posting the question I've figured it out: 1. script location is correct (Application Support/BBEdit/Attachment Scripts) 2. script name was correct (Document.documentDidSave.scpt) 3. when saving the script make sure it is saved as: Script with the Run only option checked 4. it works A:// -- 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 http://groups.google.com/group/bbedit?hl=en 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
Re: Navigating methods
On Sep 8, 12:43 am, Patrick Woolsey pwool...@barebones.com wrote: Alex Popescu alexan...@mypopescu.com sez: At the top of the editors there's a small thing that allows navigating a source file by functions (probably other structural elements). Any ideas how I could get that thing to show up and take focus using a shortcut? I'm not able to figure out what's the corresponding editor functionality to associate it with a shortcut. That's the function menu (or function popup), and its default key equivalent is Control-Option-N. (If desired, you can adjust the latter under Navigation Bar within the Menus Shortcuts preference panel.) Yey! Awesome! Thanks a lot Patrick, A:// PS: after a few weeks spent with BBEdit I'm finally starting to: 1) identify the functionality I need; 2) become productive; 3) enjoy it! The key was not giving up immediately--as a text editor BBEdit presents a new user with an unusual learning curve. Regards, Patrick Woolsey == Bare Bones Software, Inc. http://www.barebones.com P.O. Box 1048, Bedford, MA 01730-1048 -- 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 http://groups.google.com/group/bbedit?hl=en 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
Re: Can someone explain ctags to me?
On Wed, Sep 07, 2011 at 05:10:47PM -0400, Fran?ois Schiettecatte wrote: Not at my end, it created the tags file without a dot at the end of the command, it was silent though, maybe a verbose mode... So it does. Didn't see the tags file the first time but duped the directory, nuked the tags file, and ran it again which produced a new tags file. -- David Kelly N4HHE, dke...@hiwaay.net Whom computers would destroy, they must first drive mad. -- 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 http://groups.google.com/group/bbedit?hl=en 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
Re: Can someone explain ctags to me?
At 14:45 -0700 07/09/2011, Alex Popescu wrote: 3. when saving the script make sure that it is saved as Script + Run only (nb: according to the documentation the script must be compiled and I assume Run only option means it is compiled) I have not experimented with the application under discussion but in general any AppleScript script saved as such (and not simply as text) will be compiled. The 'run only' option is simply to stop people hacking the source code. 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 http://groups.google.com/group/bbedit?hl=en 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
where's my mailto:?
Am I missing something, or did version 10 remove the auto-formatting for the HTML tag mailto:? I loved being able to highlight an email address in the code and with two clicks add the properly formatted mailto: link. I used this smart function frequently and can't believe it's gone! Any ideas? Searching this list for mailto: is pointless (it seems to pull up every single message) and there's nothing in the manual, either. Loss of this functionality is enough to make me consider downgrading to v.9, which I really don't want to do. -- 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 http://groups.google.com/group/bbedit?hl=en 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
Re: Assigning Keystroke to Scratchpad
Thanks Chris, the second script works as advertised. It is a tad bit slower than the first one. I haven't gotten around to running it as a compiled script but I will soon. Thanks again. Been using it every day. Philippe, I'm guessing what you're saying is that script simply uses what keyboard maestro gives you. I haven't yet figured out how that needs to be used (I'm still learning how to use keyboard maestro), but when I do I'll give it a try :) cheers, gary On Aug 29, 2:08 pm, Philippe Martin f...@macrobyte.net wrote: Why using Keyboard Maestro if you do it all in AppleScript? :) It's very easy to do in pure KM: - If condition met execute action all of the following are true the front window title is Scratchpad execute the following actions: - type the cmd-w keystroke - use variable FrontApp to set the front application by name otherwise execute the following actions - set variable FrontApp to %CurrentApplication% - activate BBEdit.app - pause until condition met all of the following are true a menu with this name Show Scratchpad is enabled - select a menu item in BBEdit.app Menu title Window Menu item Show Scratchpad Assign it a hot key and you're done. All the best, Philippe On 29 août 2011, at 07:19, Christopher Stone wrote: On Aug 28, 2011, at 18:33, Christopher Stone wrote: I'm sort of ticked with the irregularities, so I'll probably rewrite the script tomorrow. __ Hey Gary, Okay. This script bypasses all but BBEdit and Keyboard Maestro. It runs a trifle faster if you run it as a compiled script rather than as text. -- Best Regards, Chris --- -- ## OPEN BBEDIT SCRATCHPAD ## --- -- on openScratchpad() tell application BBEdit open scratchpad window activate set index of window Scratchpad to 1 # Workaround for hidden apps issue. end tell end openScratchpad --- -- ## RESTORE NAMED APPLICATION ## --- -- on kmRestoreApp() tell application Keyboard Maestro Engine do script dict keyAction/key stringSetApplicationByNameMatches/string keyIsActive/key true/ keyIsDisclosed/key true/ keyMacroActionType/key stringUseVariable/string keyVariable/key stringrestoreAppKM/string /dict set value of variable restoreAppKM to FALSE end tell end kmRestoreApp --- -- try tell application Keyboard Maestro Engine set currentApp to process tokens %CurrentApplication% try set restoreApp to value of variable restoreAppKM on error make new variable with properties {name:restoreAppKM, value:FALSE} end try if currentApp ≠ BBEdit then set value of variable restoreAppKM to currentApp openScratchpad() of me else if currentApp = BBEdit then if value of variable restoreAppKM = FALSE then openScratchpad() of me else kmRestoreApp() of me end if end if end tell on error errMsg number errNum set sep to == set e to sep return Error: errMsg return sep return ¬ Error Number: errNum return sep beep tell application System Events to display dialog e end try --- -- -- 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 http://groups.google.com/group/bbedit?hl=en 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 __ Philippe MARTIN http://flip.macrobyte.net -- You received this
Script to Save to SFTP Server
I am trying to come up with a script to save my local file to a remote server without having to type the password in each time. I tried doing this by having the script open the file in Interarchy, but for some reason this does not work: tell application BBEdit save front document set thefile to file of front document end tell tell application Interarchy open thefile end tell Has anyone come up with a script that would quickly save something to a remote server (either completely within BBEdit or not)? 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 http://groups.google.com/group/bbedit?hl=en 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
Re: where's my mailto:?
On Sep 7, 2011, at 3:07 PM, Margaret Martin wrote: Am I missing something, or did version 10 remove the auto-formatting for the HTML tag mailto:? I loved being able to highlight an email address in the code and with two clicks add the properly formatted mailto: link. I used this smart function frequently and can't believe it's gone! Any ideas? Searching this list for mailto: is pointless (it seems to pull up every single message) and there's nothing in the manual, either. Loss of this functionality is enough to make me consider downgrading to v.9, which I really don't want to do. Search the archives for anchor tags in v. 10 very inconvenient and look for the 10.0.2 pre-releases. -- 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 http://groups.google.com/group/bbedit?hl=en 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
Displaying/Following symlinks in Project view
Hi, I was wondering if there's any option available to enable displaying/ following symlinks in Project view. I use symlinks quite often and I'd prefer not to navigate outside BBEdit to get to them tia, A:// -- 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 http://groups.google.com/group/bbedit?hl=en 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
very cool feature... search in document's folder
99% of my searches are within client folders/sites, within my Sites folder. typically, a client emails a question or problem. i will, of course, not have the slightest recollection of what i did or how i did it. i will start researching my response by opening the main controller doc that contains all of the site logic and functions, and searching around. i'll find a clue, and then want to search throughout the site for where a variable or param is used in other places. i emailed the guys with a feature idea/request to have multi-file search automagically add the document's folder to the list of possible targets, and patrick pointed out that search-search in document's folder already exists. (doh!) so... for multi-file searching, i've assigned command + shift + f to 'search in document's folder', rather than multi-file search, where i had to manually select (or add) the desired target search folder. if i need to search elsewhere, i just uncheck the one checked folder. bbedt f-ing rocks. bruce -- 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 http://groups.google.com/group/bbedit?hl=en 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
Re: Script to Save to SFTP Server
On Sep 7, 6:57 pm, Kyle Katarn der...@gmail.com wrote: I am trying to come up with a script to save my local file to a remote server without having to type the password in each time. Does File - Save to FTP/SFTP Server do what you want? If the password is stored in the System Keychain, you shouldn't have to continually type it in. --Kerri -- 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 http://groups.google.com/group/bbedit?hl=en 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
Re: where's my mailto:?
On Sep 7, 6:07 pm, Margaret Martin martin.hitthen...@gmail.com wrote: Am I missing something, or did version 10 remove the auto-formatting for the HTML tag mailto:? I loved being able to highlight an email address in the code and with two clicks add the properly formatted mailto: link. I used this smart function frequently and can't believe it's gone! Yes, I missed it too, but it's back in 10.0.2...see here: http://www.youtube.com/watch?v=Y9TfPs8ltgw --Kerri -- 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 http://groups.google.com/group/bbedit?hl=en 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
Re: Need a bigger hint
See page 78 of the user manual. And try Help › Tutorial to get familiar with the major features of BBEdit. -- 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 http://groups.google.com/group/bbedit?hl=en 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
Re: Help with applescript for BBEdit formatting
I'd file a bug report. I'm not seeing that. -- 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 http://groups.google.com/group/bbedit?hl=en 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
Re: Help with applescript for BBEdit formatting
I did a clean install and got the same issue. I filed a bug report. Thanks, Rick -- 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 http://groups.google.com/group/bbedit?hl=en 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
Custom Completion Parser
TextMate has a built-in way of creating a custom (and live) completion parser. You start by telling the completion parser, in regex, what you want to scan the document for (e.g. /^chapter\s?\d+$/). This creates a list that TextMate presents in a completion pop-up (it also lets you manually define things you want in the completion pop-up). I want this in BBEdit. And I'm trying to figure out how to do it. Here's what I've got so far: 1. A script attached to the save event (or something) scans the open document for a regex pattern. 2. This script creates a ctags file from the regex matches in BBEdit's Completion Data folder, and adds some predefined ones to the list. Would a ctags file work this way? Would this be flexible enough to get pretty much anything in a completion pop-up? Can the ctags file be in simple enough format that a simple ruby script could generate it? Is this a crazy way of getting competitions in prose? -- 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 http://groups.google.com/group/bbedit?hl=en 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
Re: Custom Completion Parser
On Wednesday, September 7, 2011, Oliver Taylor mrolivertay...@gmail.com wrote: Here's what I've got so far: 1. A script attached to the save event (or something) scans the open document for a regex pattern. 2. This script creates a ctags file from the regex matches in BBEdit's Completion Data folder, and adds some predefined ones to the list. Would a ctags file work this way? Yes, if properly formatted. (See below.) Though as a side note, I would recommend writing the tags file into the file's parent directory (or one of its ancestors), rather than into the central Completion Data folder. It might also be desirable to munge the ctags file carefully, and only rewrite entries that pertain to that particular file. (Left as an exercise for the reader.) Would this be flexible enough to get pretty much anything in a completion pop-up? Probably. There's lots of baked-in support for ctags in BBEdit. Can the ctags file be in simple enough format that a simple ruby script could generate it? Absolutely. Is this a crazy way of getting competitions in prose? Possibly. But it sounds kind of awesome. (Mostly because you could use it for *anything*, not just prose.) If you're going to generate ctags files yourself, you need to read this: http://www.bbeditextras.org/wiki/index.php?title=Advanced_ctags_hacking. Enjoy, R. -- Rich Siegel Bare Bones Software, Inc. sie...@barebones.com http://www.barebones.com/ 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 http://groups.google.com/group/bbedit?hl=en 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
Re: where's my mailto:?
At 15:07 -0700 on 09/07/2011, Margaret Martin wrote about where's my mailto:?: Searching this list for mailto: is pointless (it seems to pull up every single message) and there's nothing in the manual, either. That is because that occurs in the 4 List-* Headers. Try restricting your search to Body (and possibly Subject). -- 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 http://groups.google.com/group/bbedit?hl=en 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