Hi Chris,

> On 14 Feb 2019, at 22:22, Christopher Stone <[email protected]> 
> wrote:
> 
> On 02/14/2019, at 13:02, Néstor E. Aguilera <[email protected]> wrote:
>> 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.
> 
> Hey Néstor,
> 
> If you have Prefs-->Editor_Defaults-->Auto_Indent [ON] then BBEdit matches 
> the current indent level when [Return] is pressed.
> 
> It's not hard to add a tab to that to get to the next level of indention.

I know, that's why I mentioned it.

>> Remember that under default settings, the delete key would de-indent one 
>> "tab": ...
> 
> I hate all that and have it turned off, except for tab change indent of the 
> selection.
> 
> I find that quite useful from time to time.

On the contrary, to me it is a big plus (although it took me a while to get 
used to). 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?).

>> So perhaps it would be nice to have an automatic indent when you hit return 
>> after some character, say "{" in C or ":" in python.
> 
> If you want it make a formal feature request, or the idea will likely never 
> be recorded where it counts.
> 
> But – you can have this now if you're willing to learn how to script it.

I don't really need it, this comment was with respect to the Ehler's original 
post on Javascript.

Best,

Nestor

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or need technical support, please email
"[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <https://www.twitter.com/bbedit>
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/bbedit.

Reply via email to