strip trailing spaces

2019-07-30 Thread Néstor E. Aguilera
Hi, I wonder if besides the default preference, the "strip/leave trailing spaces" can be changed for individual files when saving. If so, how? Thanks, Nestor -- This is the BBEdit Talk public discussion group. If you have a feature request or need technical support, please email

Re: Diving Deep (saving)

2019-04-11 Thread Néstor E. Aguilera
Hi Chris, If you are using a script in terminal and you have a folder's window open, you could drag the name of the folder to the "terminal" to complete it. I don't know if you can do that when AppleScript asks for the folder's name. Sorry to insist, but with Default Folder you could use any

Re: Diving Deep (saving)

2019-04-11 Thread Néstor E. Aguilera
> On 11 Apr 2019, at 05:48, Scott in Pollock wrote: > > I often need to create a new text file and save it to a directory deep down > within ~/Library. Is there a way I can automate either the save to that > folder, OR the navigation to that folder during a save (short of putting that >

Re: How to keep Python active after running a script in BBedit?

2019-03-11 Thread Néstor E. Aguilera
I am also interested in a good solution. Currently my setting is as follows: - Edit the script in BBEdit. - A menu script in BB tells Idle to open the python file. - Run the script in Idle. - Do things in the Idle Shell, and perhaps small changes in the Idle editor, which are immediately

Re: Two windows, one updating, one not?

2019-02-21 Thread Néstor E. Aguilera
; > -- Barbara > >> On Feb 21, 2019, at 6:07 AM, Néstor E. Aguilera >> wrote: >> >> Hi Barbara, >> >> ¿Have you tried splitting the window? >> >> Best, >> >> Nestor >> > > -- > This is the BBEdit Talk public di

Re: Two windows, one updating, one not?

2019-02-21 Thread Néstor E. Aguilera
Hi Barbara, ¿Have you tried splitting the window? Best, Nestor === > On 20 Feb 2019, at 22:39, Barbara Snyder wrote: > > Thanks to both of you for the quick responses. > >> On Feb 20, 2019, at 5:04 PM, Christopher Stone >> wrote: >> >> On

Re: Auto-increase indent

2019-02-15 Thread Néstor E. Aguilera
> On 15 Feb 2019, at 08:59, Néstor E. Aguilera > wrote: > > [...] > > To eliminate all indentation after a return you could use "option return" (I > couldn't find this in the manual though, is this standard or was it something > I defined?). I think &q

Re: Auto-increase indent

2019-02-14 Thread Néstor E. Aguilera
Hi, Languages such as python need indentation after a colon so as to start a new block, which some editors will do automatically: def f(x): if x > 1: while x < 5: etc so I don't think the suggested clipping would be useful in this case. Also, notice that

Re: A little grep help

2019-02-12 Thread Néstor E. Aguilera
Notice that \s includes line feeds/carriage returns/form feeds, so perhaps it is not what you want. For just spaces and tabs you may try [^ \t]+ (user manual, p. 187). Nestor === > On 12 Feb 2019, at 10:42, Sam Hathaway wrote: > > This would seem

Re: Create a "foldable" section within a Python function

2018-11-29 Thread Néstor E. Aguilera
Hi Gauvins, > On 29 Nov 2018, at 02:34, Gauvins wrote: > > I have a long list of constants at the top of a function. Would be great if > is could be collapsed, like what happens with def / comment_blocks / """ > strings """ and such. > > I cannot find a command that would "create a fold",

Re: "tput: No value for $TERM and no -T specified"

2018-11-25 Thread Néstor E. Aguilera
> On 25 Nov 2018, at 17:14, d0g wrote: > > If I write a script in BBEdit/TextWrangler, e.g. > > #!/usr/bin/env python > > print > 1234 > and choose "Run" from the #! menu, I get this in a new document: > > 1234 > > tput > : No value for $TERM and no - > T specified > tput > : No value

Re: How to Switch Different Python Versions while using BBEDIT

2018-05-24 Thread Néstor E. Aguilera
> On 24 May 2018, at 17:33, Steve Piercy wrote: > > Try pyenv. > > https://github.com/pyenv/pyenv/ > > It allows you to set your PATH to any version of Python that you have > installed via pyenv. > > --steve Beware of not changing the default (used by the OS)

Re: Multiple replace of highlighted text

2018-05-04 Thread Néstor E. Aguilera
Remember that "Cmd-Opt-E" is "Use Selection for Replace", complementing "Cmd-E (use selection for find), so a sequence could be 1. select text, 2. Cmd-E (use selection for find), 3. replace the text with what you want, 4. Cmd-Opt-E (use the new text for replace) 5. Dangerous part: Cmd-Opt-=

Re: Entering path for Save As filename doesn't go to the path :-(

2017-10-26 Thread Néstor E. Aguilera
> On 26 Oct 2017, at 04:38, @lbutlr wrote: > > > >> On Oct 25, 2017, at 3:22 PM, Everywhere is Nowhere >> wrote: >> >> BBEdit is the first editor I've used where if I enter in "Save As" a file >> path, it doesn't change the default location to

Re: Auto-select search selected when text is selected

2017-09-04 Thread Néstor E. Aguilera
> On 2 Sep 2017, at 15:17, vr...@sbcglobal.net wrote: > > Thanks, I'm aware of the shortcut key; as others noted, that's not what I was > asking about. > > I'm looking for the ability for BBEdit to assume that if I have text > highlighted*, that's what I want to search. I didn't say anything

Unindicted co-conspirators

2017-03-10 Thread Néstor E. Aguilera
With the new release of BBEdit, I noticed that I am an "unindicted co-conspirator". I don't know for how long I have held that position, but my sincere thanks--and laughs--for the distinguished title to the wonderful people who do the real work. It is really nice to belong to this group. All

Re: How to Select Non-Contiguous Text

2017-02-04 Thread Néstor E. Aguilera
Hi Bill, In the Finder you can select several objects simultaneously by holding down the command key. This also works in OpenOffice (and surely in MS Word), but that doesn't seem to work in the current version of BBEdit. I guess I don't quite understand the problem, as I didn't see an

Re: Copy Named Symbol

2017-01-09 Thread Néstor E. Aguilera
Hi, I am somewhat lost, perhaps because I am using the trial copy of BBEdit, the evaluation period is over, and I don't know how to use text completion with BBEdit (the manual is rather obscure to me). What I have used with TextWrangler for many years and now with BBEdit is the