wrapping python strings

2018-02-15 Thread Seth Dillingham
Our policy at work is that Python files have a line length limitation of 80 columns. This is a slight pain when we have strings that are longer. Python makes this fairly easy to deal with, though: sequential strings in parens are concatenated automatically into a single string. So a line like

Re: Assigning BBEdit Window Placemements with Multiple Displays

2014-11-23 Thread Seth Dillingham
On Sat, Nov 22, 2014 at 1:40 PM, asrdg...@gmail.com wrote: I want an open file in each of two visible BBEdit windows side-by-side on the 27 display, with other open files hidden behind them and ready to be recalled. My thoughts are that a combination of scripting and short-cut key assignment

Re: CSS syntax colouring in BBEdit 11

2014-10-23 Thread Seth Dillingham
On Thu, Oct 23, 2014 at 7:47 PM, LuKreme krem...@kreme.com wrote: twitter drizzle about the kerfuffle in Seattle (I think it was Seattle) While I think it's always drizzling in Seattle, I believe the particular drizzle to which you refer precipitated in Quebec. -- This is the BBEdit Talk

Re: Regaining mindshare for BBEdit

2013-03-21 Thread Seth Dillingham
On Tue, Mar 19, 2013 at 12:48 AM, David Shea da...@davidshea.com wrote: and the ability to split a window would be handy Do you mean something like what the window-splitter does now? It's up at the top right of the window, immediately above the scrollbar (or at least above where the scrollbar

entabbing source code

2013-02-20 Thread Seth Dillingham
When entabbing source code (of nearly any language), I only want the leading whitespace to be tabbified. Unfortunately, current behavior is to entab all multi-space runs throughout the lines. The project I'm on at the moment has strings with long runs of space in them, which must not be changed

Re: Save document from template preview

2011-10-01 Thread Seth Dillingham
On 9/29/2011, jawalsh said: I used the preview template feature quite a bit. I'd like to be able to save the full HTML documents somehow. That is, I create a text file with an HTML fragment. I preview it a template that is creating a virtual complete HTML document. I want to save that complete

Re: [ANN] BBEdit 10.0.2 (3101) pre-release

2011-09-26 Thread Seth Dillingham
On 9/26/2011, Rich Siegel said: * [DOC] [NFR] Additional refinements to full screen mode switching: when entering full screen mode, the window's current width is used, *unless* `FullScreenWindowsHogScreen` is turned on, in which case the window will take up the whole screen. To toggle this

Re: [ANN] BBEdit 10.0.2 (3097) pre-release

2011-09-21 Thread Seth Dillingham
On 9/21/2011, G. T. Stresen-Reuter said: On Sep 21, 2011, at 9:26 PM, Chip Warden wrote: click the full-screen zoom button and the window width to become the screen width. I don't have Lion so I can't test what you're trying to do, but are you saying you want to be able to click the

Re: Code folding

2011-09-18 Thread Seth Dillingham
On 9/18/2011, Aman said: I read the Appendix-D of BBedit-10's manual that explains codeless language modules. But wasn't able to understand what changes should i make to this info.plist in VerilogHDL.bblm language module to make it fold the begin-end blocks! Aman, The Verilog module is

Re: Applying p tag to multiple paragraphs

2011-09-12 Thread Seth Dillingham
On 9/12/2011, stevedennie said: I've been through all of the pref menus, but can't find a solution. Am I missing something, or was this functionality removed? I tend to write entire paragraphs on one line in the HTML document, so I find the current behavior less than ideal. It was easy

Re: [ANN] BBEdit 10.0.2 (3091) pre-release

2011-09-12 Thread Seth Dillingham
On 9/12/2011, Rich Siegel said: * When previewing documents in a particular language, you can specify the default CSS to be used when previewing, simply by placing an appropriately named CSS file in `Application Support/BBEdit/Preview CSS/`. The name of the file should be of the pattern

Re: function popup menu will not hide anonymous functions

2011-09-06 Thread Seth Dillingham
On 9/6/2011, RickL said: defaults write com.barebones.bbedit LanguageSpecific:ShowAnonymousFunctions:JavaScript -bool yes This was changed for BBEdit 10 but I don't see the new pref key documented anywhere. Try this: defaults write com.barebones.bbedit ShowAnonymousFunctions_JavaScript

Re: TextExpander, BBEdit 10 and typing lag

2011-09-03 Thread Seth Dillingham
On 9/2/2011, Watts Martin said: Just curious -- has anyone else noticed a definite typing slowdown in BBEdit 10 with TextExpander enabled? Yes, in fact it was so bad for me I had to disable TextExpander. But it started for me back under early betas of 10.0, I think, so I've (sadly) had TE

Re: slow repeat rate in 10 on lion

2011-09-01 Thread Seth Dillingham
On 9/1/2011, tpneumat said: Glad I'm not the only one. The problem is also greatly exaggerated when shift-arrow selecting text. It makes doing selections with keyboard only almost impossible...which is a big deal in a text editor for me, since I keep my hands off the mouse as much as

Re: Mourning the loss of Find extend selection option

2011-08-02 Thread Seth Dillingham
On 7/30/2011, Geoff Hicks said: Finding and replacing multiple blocks of text bounded by definable search strings that may be separated by many hundreds, if not thousands of arbitrary lines has never been possible (stack overflows, except when intervening lines ~100) within TextWrangler or

BBEdit Extras Wiki

2011-07-27 Thread Seth Dillingham
I haven't seen mention of this before, so maybe nobody else knows about it either... There's a wiki with info about the various ways available for extending BBEdit (language modules, packages, scripts, etc.) here: http://www.bbeditextras.org/wiki/ (I had nothing to do with the creation of

Re: What am I missing in BBEdit 10?

2011-07-22 Thread Seth Dillingham
On 7/22/2011, NotInUse said: I appreciate the responses, but you all seem to have the impression (at least as I interpret it) that this is my first rodeo. I assure you, it's not. No, I think we just don't care how experienced you are. It makes no difference. That's not a personal attack,

Re: What am I missing in BBEdit 10?

2011-07-22 Thread Seth Dillingham
On 7/22/2011, John Delacour said: I can only presume the 'document' you are referring to is not an html document because both things work fine here. I did notice that new documents are no longer created as HTML by default OMM, and I seem to have misplaced the default language setting. --

Re: What am I missing in BBEdit 10?

2011-07-22 Thread Seth Dillingham
On 7/22/2011, NotInUse said: And yes it's BBEdit 10. There's little mistaking it when you see the HTML Palette. Agreed. ... I had to make a movie showing nothing happening and they've now asked for the html file. Although, this happens with any file. It's clearly a bug in the app. I ran

Re: Adding \\ to comments

2010-12-24 Thread Seth Dillingham
Nick, I'm sorry that I didn't see this until now, but did you ever get an answer to this? The solution, if nobody else told you, is to create your own Codeless Language Module. If that's truly the ONLY thing you want it to do, then your module is going to be extremely simple. See here:

Re: [ANN] BBEdit 9.6.1 (2845) pre-release

2010-11-02 Thread Seth Dillingham
On 10/30/2010, Walter Ian Kaye said: You fixed a non-reproducible bug? Wow. You think that's impressive? I had the benefit of working from Mr. Siegel's office for a few hours today (no joke), and saw him commit a fix for a *planned* feature. Seriously, he's that good. Next thing we

Re: #mark in Python

2010-10-13 Thread Seth Dillingham
On 10/13/2010, Tim Gray said: I'm sorry. I totally missed that you were talking about perl originally. From what I've seen, there is a 'comment marker' syntax for TeX, Python, and C variants. There might be for other languages as well, but as you have found, it's terribly undocumented. I

Re: When is next major version of BBEdit going to be released?

2009-09-24 Thread Seth Dillingham
On 9/24/2009, cnymike said: Nobody really knows I suppose except the developers and/or beta testers (who are under an NDA). So I guess I can either apply to be a beta tester, or just wait it out... patiently tapping fingers, crossing fingers, wringing fingers... I know that the beta testers now

Re: Codeless Language Module question

2009-09-21 Thread Seth Dillingham
On 9/21/2009, Francisco Hirsch said: I am writing a Codeless Language Module for WebDNA. I have two questions a) WebDNA tags use square brackets ([ and ]) as in [Text]...[/Text]. How do I put them in the .plist so the they show up colored like the tag (in this case Text)? b) Dumb question: I

Re: Codeless Language Modules Question

2009-09-15 Thread Seth Dillingham
On 9/14/2009, HobbesianTiger said: I'm attempting to write a codeless language module for a variant of Prolog, and was wondering how to have BBEdit highlight all 'variables'. A variable is essentially and alphanumeric string that starts with an uppercase letter. The problem here is that there

Re: Filter/Script to uudecode?

2009-07-28 Thread Seth Dillingham
On 7/28/2009, Warren Michelsen said: Is there a way (script or filter) to take selected text in the front-most BBEdit document, pass it to uudecode and paste the result into the document in place of the encoded text? 1. Create a new document, paste in the following lines: #!/bin/sh uudecode

Re: New MacBook Pro had 9.1.1 installed but where???

2009-06-28 Thread Seth Dillingham
On 6/28/2009, Jeffrey Jones said: If you can launch it, you can find it. Click on the Dock icon and select Show in Finder. Or just command-click on the item in the dock. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

Re: HTML strings in Python

2009-05-08 Thread Seth Dillingham
On 5/8/2009, dsr said: How exactly are these supposed to be formatted to be displayed in the functions popup? I can't seem to get them to work. 1. It must be a triple-quoted string. 2. The first non-white character (not a tab, space, return, etc) must be a '' The HTML itself isn't listed in

Re: Find / Replace or insert text

2009-05-04 Thread Seth Dillingham
On 5/4/2009, Doug McNutt said: You need to set 7/9 punches in column 72 of the wrap around control card that goes in the drum at the top of the 026 punch. Once you do that you can punch FORTRAN sequence numbers automatically. Hey I just found a reason to use Mailsmith's flag message feature

Re: Find word delete line

2009-05-02 Thread Seth Dillingham
On 5/1/2009, Greg Reyna said: I'm trying to write a script that will open an ascii file, search for a word, delete the entire line that word is on, then search again to EOF, and save. Apple Script gives me the shivers. Usually, if I can find a script that does something similar to what I need,

Re: Find word delete line

2009-05-02 Thread Seth Dillingham
On 5/2/2009, Doug McNutt said: Is a start requiring that $word be surrounded by two non-word characters but will fail when $word begins or ends a line. There's also the problem that perl's definition of a word character includes programming conventions, particularly the underscore. BBEdit

Re: AS 3.0 language module

2009-04-21 Thread Seth Dillingham
On 4/21/2009, axolx said: Out of curiosity, was this included in a recent update? I thought when 9.0 shipped the built-in AS module did not support folding and certain language keywords (which in turn led me to find the 3rd party module) See the BBEdit 9.0.2 release notes:

Re: AS 3.0 language module

2009-04-16 Thread Seth Dillingham
On 4/16/2009, stratboy said: Hi! Why still you don't distribute an official AS 3.0 language module? I'm using the one created by a user some months ago, but... I think it's a mandatory feature to become official, don't you? If you have installed a 3rd party language module, you need to remove

Re: Grep help?

2009-03-26 Thread Seth Dillingham
On 3/25/2009, le...@gmail said: I know I can do this with a negative look-ahead something or other, but despite years and years of regexs, I do not grok that particular mechanism. I want to search for lists that contain at least 10 list items. Try this:

Re: actionscript 3 CLM

2008-09-18 Thread Seth Dillingham
On 9/17/2008, Alan Watts said: Does anyone have a CLM for AS3 that supports folding for BBEdit 9? 8 worked out of the box, but something is janked in 9 and it's not recognizing functions once a return type is specified ( :void { ). Have you filed a bug? I know the guy who works on the

Re: I don't know if anyone's ever asked this, but...

2008-08-29 Thread Seth Dillingham
On 8/29/2008, Brian Frick said: Do you use BBEdit to write BBEdit? I'm assuming you almost exclusively use Macs to program, since the final product is Mac-only. But do you use any other platforms to help with development of your software? I'm just curious. Thanks! I use platform shoes