BBEdit Clipping for jQuery updated to v.1.4.3
Hi All, I just updated my jQuery clippings set for version 1.4.3, which (fingers crossed) will be out this weekend. Again the clippings cover the full API with all the function signature variations and $ shortcuts. Grab them at: http://noumenal.co.uk/bbedit/jquery-clippings (Ping me if you find an error.) Enjoy. -- 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
Text Factory
Again, I am using the demo version of BBEdit to see if it is what I will need. I have just discovered Text Factory but do not know how to use it yet. I have a lot of HTML documents in one folder. They are all UTF-8. Many of them have Windows (CRLF) and I want this changed to Unix (LF). On these same documents, I want to tidy them and primarily just reflow?? them to remove blank lines and have proper indentation. These files have gone through a lot over the past 2 years. They started out as Microsoft Word documents and were then saved to HTML (or rather the Windows way as .htm). I have since cleaned up all of the stuff that Word adds to them. They are now HTML5 with the shortened DOCTYPE, html statement and charset. i.e. !DOCTYPE HTML html lang=en head meta charset=utf-8 In the process of doing all of this off and on over the past 2 years, the indentation is horrible and there is are a lot of empty lines. I think that I have removed all of the empty tags by now and so the tidying won't have to do this. So, my question is: Is Text Factory what I need to tidy the documents to re-indent everything, to change from CRLF to LF and at the same time to reflow (?) the documents? Any help would be appreciated on how to set this up in Text Factory. If this does what I need, then the minute that I am finished, I will go straight to the web site and purchase BBEdit. Thanks, Linda -- 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
how to paste in a specific column
Hi, Has anyone figured out how to automatically place a character (e.g., ) in the same column of selected lines? This would be really useful for Fortran continuation lines. So far I can't see how to do it other than spacing one by one over from the end of the text to column 73, which is really tedious if you're updating old code with a lot of continuation lines. Thanks for your help! -- 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
New HTML document
Are there plans for updating BBEdit to include HTML5 documents? When I create a new HTML document, I have the option of inserting the DOCTYPE. There is no choice (didn't expect it to yet ;-) for HTML5. Something like this: !DOCTYPE HTML html lang=en head meta charset=utf-8 Thanks, Linda -- 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 vs TextWrangler
As long as the documents are really the same then that is OK with me. I am using the demo of BBEdit with the intent of purchasing. I will not have a need for TextWrangler if I do decide to purchase. Thanks for the hint though of how to correct the reporting in TextWrangler and for the other answers as well. Linda -- 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: New HTML document
On Oct 14, 2010 at 09:02 AM -0700, Linda wrote: Are there plans for updating BBEdit to include HTML5 documents? There was a big thread on this a couple of weeks ago, and I thought it was mentioned that Barebones is looking into it. Of course, if you want it, the best thing to do is to send an email to supp...@barebones.com asking for 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: how to paste in a specific column
At 08:33 -0700 14/10/2010, jtk wrote: Has anyone figured out how to automatically place a character (e.g., ) in the same column of selected lines? This would be really useful for Fortran continuation lines. So far I can't see how to do it other than spacing one by one over from the end of the text to column 73, which is really tedious if you're updating old code with a lot of continuation lines. I don't see quite what you're wanting to do, but the following UNIX filter will insert an ampersand after the 73rd character of selected lines or of all lines in the target document if no selection is made. You need only modify the substitution line to get what you want, I guess: # /usr/bin/perl while () { s~^(.{73})(.*)~$1$2~; print; } 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
Re: how to paste in a specific column
At 18:32 +0100 10/14/10, John Delacour wrote: At 08:33 -0700 14/10/2010, jtk wrote: Has anyone figured out how to automatically place a character (e.g., ) in the same column of selected lines? This would be really useful for Fortran continuation lines. So far I can't see how to do it other than spacing one by one over from the end of the text to column 73, which is really tedious if you're updating old code with a lot of continuation lines. I don't see quite what you're wanting to do Neither do I. The last time I ordered a continuation in FORTRAN it was on a Hollerith card in column 6. Sequence numbers begin in column 73 for sorting of a dropped deck. I'm pretty sure that modern compilers allow for long lines. You need to punch a tab control card and insert it on the drum at the top of the 026 card punch. That way the tab key on the keyboard will move the blank card to the right spot. Seriously though, the best way to edit and otherwise muck with card images like that is with a spreadsheet. Second best is Nisus 5 on a classic mac like this 8500. I have been recently told that emacs allows real tab stops but I haven't yet figured out how to set the required configuration options. It's fairly easy, on a spreadsheet, to prepare formats that convert columns to data plus spaces that guarantee character spacing assuming constant width. Excel's REPT( ) function, for instance. The folks are Bare Bones have never agreed with me that variable width tab stops are meaningful. -- -- The best programming tool is a soldering iron -- -- 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: New HTML document
Linda 1anml...@gmail.com sez: Are there plans for updating BBEdit to include HTML5 documents? Yes, definitely. :-) 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: Text Factory
Linda 1anml...@gmail.com sez [ background details elided ] So, my question is: Is Text Factory what I need to tidy the documents to re-indent everything, to change from CRLF to LF and at the same time to reflow (?) the documents? In general, yes: You can use the Change Line Endings action to adjust the files' line ending format, and the Format Markup (or Tidy: Reflow) action to reformat them. with this caveat: Since the results of both reformatting actions depend on the type and condition of the files they're given to process, I recommend you try them out on a few files to see which best does what you want before processing the whole batch. Also, if you have any further questions about these actions, please drop a note to support: supp...@barebones.com 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: New HTML document
Sorry for the faux pas. I just downloaded BBEdit and joined this group. I know that I should do a search first. I have no idea why I didn't do that this time before asking. Good to hear that there are plans for the change to include HTML5. Linda -- 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: Text Factory
Let me add one thing to Patrick's answer: All the functions that a Text Factory can perform can also be performed one at a time, using the appropriate menu command. So a good way to construct a Text Factory is to take a representative file, play with the relevant commands (using Undo where necessary) and figure out what operations to apply, with what parameters, in what order. Then you can construct a Text Factory to do just that. Hope that's helpful. On Thu, Oct 14, 2010 at 2:47 PM, Patrick Woolsey pwool...@barebones.comwrote: Linda 1anml...@gmail.com sez [ background details elided ] So, my question is: Is Text Factory what I need to tidy the documents to re-indent everything, to change from CRLF to LF and at the same time to reflow (?) the documents? In general, yes: You can use the Change Line Endings action to adjust the files' line ending format, and the Format Markup (or Tidy: Reflow) action to reformat them. with this caveat: Since the results of both reformatting actions depend on the type and condition of the files they're given to process, I recommend you try them out on a few files to see which best does what you want before processing the whole batch. Also, if you have any further questions about these actions, please drop a note to support: supp...@barebones.com 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.combbedit%2bunsubscr...@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: how to paste in a specific column
Thanks for all the replies, and for reminding me that I'm a complete dinosaur for still programming in Fortran ;^. Obviously Doug you haven't had to program in Fortran 90/95. Official form for continuations is to put an ampersand in col. 73 of the first line and another one in col. 6 of the continuation line. The second part is what's always been done, but the col. 73 bit is a royal PITA. If there are a variable number of existing characters in each line, which is the case here since I am editing existing code, I am not sure John's script will work. Luckily I am just doing this in a short code so it won't kill me to edit by hand, but I was hoping for a better solution for future occasions when I have to update more massive programs. On Oct 14, 2:07 pm, Doug McNutt dougl...@macnauchtan.com wrote: At 18:32 +0100 10/14/10, John Delacour wrote: At 08:33 -0700 14/10/2010, jtk wrote: Has anyone figured out how to automatically place a character (e.g., ) in the same column of selected lines? This would be really useful for Fortran continuation lines. So far I can't see how to do it other than spacing one by one over from the end of the text to column 73, which is really tedious if you're updating old code with a lot of continuation lines. I don't see quite what you're wanting to do Neither do I. The last time I ordered a continuation in FORTRAN it was on a Hollerith card in column 6. Sequence numbers begin in column 73 for sorting of a dropped deck. I'm pretty sure that modern compilers allow for long lines. You need to punch a tab control card and insert it on the drum at the top of the 026 card punch. That way the tab key on the keyboard will move the blank card to the right spot. Seriously though, the best way to edit and otherwise muck with card images like that is with a spreadsheet. Second best is Nisus 5 on a classic mac like this 8500. I have been recently told that emacs allows real tab stops but I haven't yet figured out how to set the required configuration options. It's fairly easy, on a spreadsheet, to prepare formats that convert columns to data plus spaces that guarantee character spacing assuming constant width. Excel's REPT( ) function, for instance. The folks are Bare Bones have never agreed with me that variable width tab stops are meaningful. -- -- The best programming tool is a soldering iron -- -- 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: how to paste in a specific column
At 17:09 -0700 10/14/10, jtk wrote: Thanks for all the replies, and for reminding me that I'm a complete dinosaur for still programming in Fortran ;^. Obviously Doug you haven't had to program in Fortran 90/95. Official form for continuations is to put an ampersand in col. 73 of the first line and another one in col. 6 of the continuation line. The second part is what's always been done, but the col. 73 bit is a royal PITA. If there are a variable number of existing characters in each line, which is the case here since I am editing existing code, I am not sure John's script will work. Luckily I am just doing this in a short code so it won't kill me to edit by hand, but I was hoping for a better solution for future occasions when I have to update more massive programs. I smell a perl script as a preprocessor before compiling. You just forget about the stuff in column 73 and use perl to delay a line and add the in 73 to a card that comes before a card with something in column 6. You could also get creative with tab characters that would be removed and replaced with spaces in the perl script. Come to think of it, you could do that in FORTRAN. And, you're right. The last FORTRAN code I created was used on the HEAO spacecraft launched in 1975. It's possible to run a perl script on an open but saved file in BBEdit. BBEdit will take note of changes made on the copy in memory and reload the revised image. You might also just pipe the deck through the perl script as a line in your make files. -- -- Give me liberty or give me Obamacare -- -- 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: how to paste in a specific column
On Oct 14, 2010, at 8:09 PM, jtk wrote: Obviously Doug you haven't had to program in Fortran 90/95. Official form for continuations is to put an ampersand in col. 73 of the first line and another one in col. 6 of the continuation line. This is not true. (Unless you are saying there is a local coding style someone is requiring you to use.) Fortran 90/95 allows two code formats: Fixed Formatting is the old style. Continuations use a non-blank, non-zero character in column six of the continuation line. There is no need for anything in column 73 or anywhere else at the end of the preceding line. In fact, normally anything beyond column 72 is ignored. Free Formatting is the modern style. Continuations are indicated by an ampersand at the end of the uncompleted line -- anywhere at the end. There is nothing special about column 73, and lines can be considerably longer than 73 characters. Nothing is required at the beginning of the continuation line, although an ampersand is permitted. In Free Format there is also no need to start in column 7. The format is usually selected with a compiler option. -- 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