Re: AppleScript – Toggle Between 2 Magnification Levels

2016-05-29 Thread Lawrence San
Hi Chris, Is "magnification" a property newly added to recent versions of BBEdit? I'm still running version 9.6.3 and I suspect that's the case because I can't find it in the program's AS Dictionary, but I'm not sure When I paste your script into AppleScript Editor and try to either Compile

Re: BBEdit - Wacom Table Bug

2016-03-04 Thread Lawrence San
This has been discussed in a lengthy thread here, starting around August 2015 and extending into January 2016. Unfortunately, I doubt you're going to get any additional information here beyond what you'll find by searching/reading through all the messages in that thread. On Fri, Mar 4, 2016 at

Re: Suppress _most_ images

2015-12-18 Thread Lawrence San
You're right -- I was so focused on BBEdit + Firebug that I forgot all about Chrome. Just tried it: Chrome's Network panel filters, and lets me resize the column widths, and has a convenient "Disable cache" checkbox. Much better than Firebug, for this purpose anyway. (I typically ignore Chrome's

Suppress _most_ images

2015-12-18 Thread Lawrence San
I'm working on some JavaScript for a web page that has many, many images in various places on the page. However the JS is only concerned with controlling two of those images, plus the main text column. All the other (irrelevant) images are cluttering up the Firebug Net panel (showing network

Re: Random Scrolling when in Background

2015-11-03 Thread Lawrence San
For what it's worth (probably not much), I also have an Intuos Pro large, and I haven't seen this behavior -- but then I'm still back in BBEdit 9. What version of the Wacom driver are you using? (You can open the Wacom preferences panel and then click the "About" button in the lower left to find

Re: how to switch to last active in file in same project

2015-09-23 Thread Lawrence San
, Christopher Stone < listmeis...@suddenlink.net> wrote: > On Sep 23, 2015, at 19:40, Lawrence San <lawrence...@gmail.com> wrote: > > On Wed, Sep 23, 2015 at 4:15 PM, Christopher Stone < > listmeis...@suddenlink.net> wrote: > >> Last active? No, I don't think

Re: how to switch to last active in file in same project

2015-09-23 Thread Lawrence San
On Wed, Sep 23, 2015 at 4:15 PM, Christopher Stone < listmeis...@suddenlink.net> wrote: > Last active? No, I don't think so. I believe the possible choices are > order-added and alphabetic. > That's not the behavior I remember (in BBEdit 9), and I can't find the preference for it either. So I

Re: Preview in browser's _current_ tab?

2015-09-18 Thread Lawrence San
> > ...here's the AppleScript: > Chris, thank you, that AppleScript works great. Although my AS skills are much more limited than yours, it's so simple I should have thought of that. I just assigned a keystroke to it in BBEdit (I wish other programs made it so easy to assign a keystroke to a

Re: Best way to edit recently saved searches.

2015-07-04 Thread Lawrence San
found that. But I cannot reorder the items in the list. The manual says they drag to new positions but mine don’t. On Jul 3, 2015, at 8:31 PM, Lawrence San lawrence...@gmail.com wrote: To edit saved searches in BBEdit 9, go to BBEdit menu (upper right of Mac's menu bar) Preferences Text Search

Re: Best way to edit recently saved searches.

2015-07-03 Thread Lawrence San
To edit saved searches in BBEdit 9, go to BBEdit menu (upper right of Mac's menu bar) Preferences Text Search (near the bottom of the list). There you'll see a list called Grep patterns along with associated buttons for Change and Remove... that let you edit the items in the list. I'm not sure

Re: Change how BBEdit formats: remove line breaks after opening p and before /p?

2015-06-08 Thread Lawrence San
...@googlegroups.com. To post to this group, send email to bbedit@googlegroups.com. -- Lawrence San Business Writing: Santhology.com Cartoon Stories for Thoughtful People: Sanstudio.com -- This is the BBEdit Talk public discussion group. If you have a feature request or would like to report a problem

Re: How to speed up copy paste in BBEdit?

2015-02-10 Thread Lawrence San
I’ve just installed Karabiner - mainly to correct some of the small inconveniences of my new Microsoft Sculpt Ergonomic Keyboard http://www.amazon.com/Microsoft-Ergonomic-Keyboard-Business-5KV-1/dp/B00CYX26BC/ref=sr_1_2?ie=UTF8qid=1423580036sr=8-2keywords=Microsoft+Sculpt+Ergonomic+Keyboard

Re: How to speed up copy paste in BBEdit?

2015-02-06 Thread Lawrence San
Charlie Garrison garri...@zeta.org.au wrote: Shortcuts, whether for trackball, mouse, keyboard, or even hand-waving, are a very personal thing. ​I'd be very interested to learn about your shortcuts for hand-waving, especially if they can be coded in JavaScript. (My AppleScript is a little

Re: Can't quit BBEdit

2015-01-29 Thread Lawrence San
. -- Lawrence San Business Writing: Santhology.com Cartoon Stories for Thoughtful People: Sanstudio.com -- This is the BBEdit Talk public discussion group. 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

Re: Regular expression interfering with BBEdit's Balance Tags

2015-01-20 Thread Lawrence San
Hmm... although I have extensive documentation on the overall function (which I wrote quite a few years ago), I didn't document the regexp in detail. My notes (which are obviously ancient, based on the browsers mentioned) refer to the various ways that different browsers report transparency, such

Regular expression interfering with BBEdit's Balance Tags

2015-01-18 Thread Lawrence San
When I compose JavaScript in BBEdit 9, one of the things I do as I go along is to use Command-B to see if my tags balance. This normally works fine, and helps me avoid errors. Another habit of mine is to start with standard utility functions I find online, and then alter or expand their

Re: Are there any shortcuts to enable/disable split bar?

2015-01-16 Thread Lawrence San
On Fri, Jan 16, 2015 at 10:06 AM, Denis Cappellin denis.cappel...@gmail.com wrote: PS: ops... I deleted the previous post. ​No, we see it twice. You probably deleted it from your gmail, but that's just your private archive; you'd have to go into the actual group page (which looks rather

Re: Edit Show Clipboard (BBEdit 10)

2015-01-03 Thread Lawrence San
'Show Clipboard' is in the Edit Menu of the Finder, not BBEdit. I see a Show Clipboard item in *both* the Finder (Snow Leopard) and BBEdit 9, but of course those are older versions. -- This is the BBEdit Talk public discussion group. If you have a feature request or would like to report a

Re: Open Current Safari URL in BBEdit through Tidy

2014-12-23 Thread Lawrence San
I use a Firefox extension called View Source With to open the current Firefox URL into BBEdit. Unlike other view source approaches, this attempts to open the actual server source (assuming you have permission to get to it, such as with your own development server), rather than create a clone --

Re: Allowing adjustable pattern history length/time

2014-12-09 Thread Lawrence San
Your question is really interesting to me because I have *hundreds* of stored greps within BBEdit, and they're extensively interactive with many AppleScripts, OSA JavaScripts, and other BBEdit routines that I've developed over a period of quite a few years. However, I'm still using BBEdit 9.6.3 --

Re: Scripting BBEdit to 'minify' CSS on save

2014-11-05 Thread Lawrence San
I haven't done exactly what you're referring to, but years ago I wrote my own set of minifiers (in AppleScript/BBEdit frankencode) for HTML, CSS, and JS, so I've thought about the logistics of using it. Right now I have to trigger the minimizer scripts manually, either on files one at a time that

Re: Scripting BBEdit to 'minify' CSS on save

2014-11-05 Thread Lawrence San
Um, this is a little embarrassing, but does the text in my previous post (or this one) look gigantic? It looked normal until I hit Send, then got huge. I think I did something weird in my Gmail settings... does the text look normal size or huge to other people? Sorry... -- This is the BBEdit

Re: A great little feature I would like very much in BBEdit...

2014-10-08 Thread Lawrence San
That's an interesting question: how could you accomplish that in BBEdit? It's easier to understand how Firebug does it -- clicking on part of the rendered web page jumps to a line in the HTML, or vice versa, because Firebug is working with Firefox's *generated* source code (transformed as the

Re: Daily summaries changed by Google or BBEdit?

2014-09-19 Thread Lawrence San
I'm still receiving the entire discussion contents, not just summaries, in my gmail account. So I doubt there was a global change by either Google or Bare Bones. Perhaps your personal settings changed for some reason? -- This is the BBEdit Talk public discussion group. If you have a feature

Re: How to double-click on word and INCLUDE the period?

2014-09-16 Thread Lawrence San
), but even then BBEdit seems to treat underscores as just regular characters, but treats periods as word delimiters. It would be great if there were some keyboard way to momentarily change these word delimiter behaviors, both in BBEdit and in the Finder. Lawrence San Business Writing: Santhology.com

Re: Put AppleScript search pattern into BBEdit Find dialog

2014-08-06 Thread Lawrence San
Hi Chris, I tried inserting an excerpt from your code into one of my scripts. It compiled OK, and when I ran it, it brought up BBEdit's Find window. But the AppleScript Editor popped up this alert: *AppleScript Error* System Events got an error: Can’t get checkbox Grep of UI element 6 of window

Re: Javascript for OS X automation

2014-06-14 Thread Lawrence San
Apple did this once before, years ago... but they gave no support, and then they quickly lost interest. They didn't even provide the JS-OSA library; it came from Late Night Software. There was little documentation and it was a struggle, but I managed to do a few useful things. On your other

Re: bbpackage - A package manager for BBEdit

2014-05-30 Thread Lawrence San
to the concept of packages as you're using the term? By *introduction* I mean for someone with no knowledge of this. Thanks. Lawrence San Business Writing: Santhology.com Cartoon Stories for Thoughtful People: Sanstudio.com On Fri, May 30, 2014 at 9:55 AM, Tim Ambler tkamb...@gmail.com wrote: Hi, all

Re: Need script or method to create a sitemap or site index

2014-05-12 Thread Lawrence San
engines for indexing... or just as a starting point for hand-crafting a sitemap for your visitors... or are there other uses I'm not aware of? Lawrence San Business Writing: Santhology.com Cartoon Stories for Thoughtful People: Sanstudio.com On Mon, May 12, 2014 at 1:28 PM, BBunny fran

Re: Anyone having issues with the list?

2014-05-02 Thread Lawrence San
I wonder if it's a general problem at Google's end, rather than specifically with this list? Because what's happening to me now, both here and in the Firebug list, is that I can see the chain of replies but I'm not seeing the original post in recent threads. Very odd. Lawrence San Business

Re: Anyone having issues with the list?

2014-05-02 Thread Lawrence San
account, while logged in to it. Are you referring to something else? Hey, I just remembered I only got four hours sleep last night -- don't take anything I say too seriously, okay?. Lawrence San Business Writing: Santhology.com Cartoon Stories for Thoughtful People: Sanstudio.com On Fri, May 2

Re: BBEdit slow large file opening

2014-04-23 Thread Lawrence San
Charlie Garrison garri...@zeta.org.au wrote: For block comments, just run it through hard-wrap, then apply 'comment'. But if you then go back later and make a substantial edit to your hard-wrapped block comments, don't they turn into a mess? I've tried that, and ended up manually dragging

Re: BBEdit slow large file opening

2014-04-23 Thread Lawrence San
On Wed, Apr 23, 2014 at 6:30 PM, Oliver Taylor olivertay...@me.com wrote: BBEdit does this automatically. Try “Text Hard Wrap…” on a messed-up comment block. Wow, you're right. I didn't know BBEdit could do that. Nice. Frankly I'm still not sure why I'd be better off hard-wrapping the

Re: ftp?

2014-04-03 Thread Lawrence San
. Lawrence San Business Writing: Santhology.com Cartoon Stories for Thoughtful People: Sanstudio.com On Thu, Apr 3, 2014 at 9:42 AM, Steve Piercy steve.piercy@gmail.comwrote: I love Yummy FTP. Actively developed, loaded with features (remote SSH commands FTW!), and it just works. Command-E

Disadvantages of object-oriented JS in BBEdit?

2014-03-31 Thread Lawrence San
with object-oriented JavaScript, or is there something here that I really don't understand? Please tell me it's the latter! I'm using BBEdit 9.6.3, if that matters in this context. Thanks much, Lawrence Lawrence San Business Writing: Santhology.com Cartoon Stories for Thoughtful People: Sanstudio.com

Re: Currently Open Documents

2014-03-25 Thread Lawrence San
Christopher Stone wrote: I *do* think the Window-Palette would be more useful if you could type-select and pick a window from the keyboard. Is this something that was removed in BBEdit 10, or am I misunderstanding your remark? In my copy of BBEdit 9.6.3, the Window palette automatically

Re: Currently Open Documents

2014-03-25 Thread Lawrence San
only knew some way to give the Windows palette focus (preferably by default, in the event that BBEdit has focus but all its windows are docked)... then I could use the arrow keys to move through the items listed in the palette, which would make it even more useful. Lawrence San Business Writing

Re: Create list of functions

2014-03-23 Thread Lawrence San
Lawrence San Business Writing: Santhology.com Cartoon Stories for Thoughtful People: Sanstudio.com On Sun, Mar 23, 2014 at 1:39 PM, Todd Ruston t...@hackneyponies.com wrote: Would using your regexps in the Text-Process Lines Containing… feature do what you want (using the copy to new

Re: Create list of functions

2014-03-23 Thread Lawrence San
! Lawrence San Business Writing: Santhology.com Cartoon Stories for Thoughtful People: Sanstudio.com On Sun, Mar 23, 2014 at 7:57 PM, Charlie Garrison garri...@zeta.org.auwrote: Good morning, On 23/03/14 at 4:06 PM -0400, Lawrence San lawrence...@gmail.com wrote: Charlie Garrison said: IOW

Create list of functions

2014-03-22 Thread Lawrence San
I have a long, complex JS file and, in an attempt to figure out what's going on, I'd like to print out just a list of active function names (by active I mean not commented out). In other words, something like the functions popdown menu in BBEdit -- but in an editable text form that I can laser

Re: Interesting Split-Window Scroll Behavior

2014-02-04 Thread Lawrence San
I just tried that in BBEdit 9.6.3; it behaves the same way you describe. I never noticed that before. I also tried turning on the Synchro Scrolling command, but it seems to have no effect on the two-paned window; I guess that's only for scrolling two separate windows. -- This is the BBEdit Talk

Print without folded text

2013-11-30 Thread Lawrence San
Searching the archive of this discussion group, I see that back in 2011 someone asked if it was possible to print a BBEdit 9 document without the folded text printing. (That is, the desire is to just print the text that shows.) Apparently there was no answer given, and I couldn't find the answer

Re: Put selection into Quick Find

2013-08-20 Thread Lawrence San
: On 19/8/13 at 01:22, lawrence...@gmail.com (Lawrence San) wrote: I tried to make the process more efficient by simply adding paste like this: set live search bar visible to true paste ...but it didn't work; I still need to command-v. Why is that? I tried that too, and you’d think

Put selection into Quick Find

2013-08-19 Thread Lawrence San
I often use Quick Find in BBEdit 9.6.3. I'd like to be able to use a keystroke to transfer whatever text I've selected in my document (usually a single word) into the Quick Find dialog, but I can't find one. The Preferences define various keystrokes (such as command-e, etc.) for making the

Re: Put selection into Quick Find

2013-08-19 Thread Lawrence San
On Mon, Aug 19, 2013 at 5:29 PM, John Delacour j...@bd8.com wrote: tell application BBEdit activate tell front text window set the clipboard to (get selection as string) if live search bar visible is true then set live search bar visible to false end if set live

Re: Validation errors for PHP tags

2013-04-23 Thread Lawrence San
Thanks, I'm familiar with those (and other) checking methods. The advantage of the built-in BBEdit code checker over the various other methods available is its speed and simplicity. I like to check what I'm doing fairly often as I go along -- so as not to let errors accumulate -- and I'm not going

Re: Validation errors for PHP tags

2013-04-23 Thread Lawrence San
On Tue, Apr 23, 2013 at 10:23 AM, Gribnif goo...@dwilga.gotdns.org wrote: A well-formed href attribute has no spaces around the = My actual code has no spaces there. I guess I added them to the faux code I used in the example here to make it look a little clearer. My mistake. and has quotes

Re: Validation errors for PHP tags

2013-04-23 Thread Lawrence San
On Tue, Apr 23, 2013 at 4:52 PM, Gribnif goo...@dwilga.gotdns.org wrote: Perhaps it's because I went with BBEdit's default loose.dtd? That happens to be the exact DTD I was already using on that page. BTW, if I remove the entire block of link code, the page validates fine, so it's probably not

Validation errors for PHP tags

2013-04-22 Thread Lawrence San
When coding HTML, I use BBEdit's Check Document Syntax command quite frequently. Normally it reports 'No errors', and the checker is extremely useful to me for finding dumb mistakes or typos as I go along. (I'm still using BBEdit version 9.6.3, if that matters.) Recently I've been adding PHP tags

Re: Justify Text

2013-02-28 Thread Lawrence San
Tracking and kerning should be left out of this this discussion, since they should play no role in HJ You're right, for the most part they should play no role. It's been so long since I've worked with justified type for print that I didn't remember clearly all the preferences and tradeoffs I

Re: Justify Text

2013-02-27 Thread Lawrence San
Indeed, this is the default formatting for man pages. Type 'man sh' into a terminal window to see it in action. That's true, and I've wondered _why_ Terminal does that. It seems like it just makes the man pages slightly harder to read. For that matter, I'm curious why anybody would want to

Re: UI feature request: Tabs

2012-12-30 Thread Lawrence San
I generally like tabbed interfaces, although I'm also fine with sidebars and popdown lists. The problem I sometimes have with tabs is that if the document filenames are long, the tabs become unwieldy, or hard to decipher if the filenames in the tabs are automatically truncated in various ways. I

Re: UI feature request: Tabs

2012-12-29 Thread Lawrence San
Andrew Brown li...@c18.net wrote: What should be posted to the group? My thought exactly. Based on the atmosphere around here, you almost have to be a mind reader to figure out what should or should not be posted to this group. My own feeling is that as long as it concerns BBEdit in some way,

Re: reoccurring navigation menus

2012-12-16 Thread Lawrence San
On Sun, Dec 16, 2012 at 2:03 PM, Neil Faiman neil.goo...@faiman.org 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

Re: Text Substitution with Language Text?

2012-09-17 Thread Lawrence San
I couldn't remember offhand where they do/don't work, only that I had spotty experiences and they never worked in BBEdit... so, to answer your question, I just tested in a few programs and discovered that they've now stopped working everywhere. I have no idea why. (BTW I'm still running Snow

Re: Text Substitution with Language Text?

2012-09-16 Thread Lawrence San
I've also found that the OS-level text substitutions don't work in BBEdit, but I've found those substitutions erratic in general -- they more-or-less work in some programs but not in others. I'm curious, on a technical level, about what determines which programs use those substitutions and which

Re: Change document window backgrounds or title bar based on file location?

2012-07-27 Thread Lawrence San
Is there a way to have BBEdit change something like the window background color or title bar color based on... I've long hoped for something similar to this myself. I'd love to be able to, for example, have all live files (that live in my Internet server) have a pale blue background, but all

Re: Change font used by Copy as Styled Text ?

2012-03-10 Thread Lawrence San
I've found that it works better if you select all and then copy as styled text. Yes, that worked! The trick seems to be to copy/paste the entire document (as styled text) into the .rtf document, and then cut out the parts you don't want. I wish I had learned about this years ago; it will be very

Re: Auto-complete CSS classes or IDs from a linked CSS file?

2011-08-18 Thread Lawrence San
I hope this isn't off-topic for this thread... but I have an alternative, somewhat related idea. I'm still using BBEdit 9.6.3, but I'm guessing there's still nothing like this in version 10 (?). When I drag an image into a BBEdit HTML document, the dialog asks me whether I want BBEdit to enter

Re: Arrange windows with two monitors

2011-04-03 Thread Lawrence San
Charlie Garrison garri...@zeta.org.au wrote: I'm not exactly sure what you're getting at here. How is a script you write untrusted? I wasn't referring to a script I write, and I never said untrusted. I said untested, referring to Christopher's statement that I don't have two monitors to test

Re: Digest for bbedit@googlegroups.com - 2 Messages in 2 Topics

2011-02-16 Thread Lawrence San
Lewis Kirk goo...@dmzgraphics.com Feb 13 03:24PM -0500 wrote... I got a MacPro not long ago and was setting up web sharing to test things locally... Rather than figure out how to use the Mac's built-in web sharing, you might just download and set up MAMP, a pre-packaged development server

Re: Digest for bbedit@googlegroups.com - 3 Messages in 1 Topic

2011-02-02 Thread Lawrence San
Rich Siegel said... Did you cross-check this with the W3C checker at http://validator.w3.org/?... You're right; I should have done that before posting. (I often use the W3C validator; it just didn't occur to me here.) The W3C gave me the same results as BBEdit. After much experimentation, I

Client-side image maps

2011-01-30 Thread Lawrence San
I seem to recall that in the readme for a recent BBEdit update, it was mentioned that support for client-side image maps had been removed. I took this to mean only that BBEdit (for some reason unknown to me) no longer offers the construction as part of its markup collection. BTW, I realize that