The four spaces approach sounds like an accident waiting to happen. This award-winning product has been crafted to serve the needs of writers, Web authors and software developers, and provides an abundance of features for editing, searching, and manipulation of prose, source code, and textual data. Then one delete and remove the indent no matter what the TAB size. BBEdit is the leading professional HTML and text editor for macOS. 2 spaces in size if you think 4 looks too large - I do). And many editors allow you to set the size of the TAB (e.g. I would think that TAB would be infinitely better and avoid the problems you point out that probably plague a lot of editors when doing Python code.
What the heck were they (Guido?) thinking when they used 4 spaces as the one true mode of indentation for Python? I gotta ask (I am not a Python expert or Pythonista): >One would think that this is a minor annoyance, and perhaps it is, but >being used to the excellent emacs python mode, I find it very >frustrating. These >days, all python code really should be indented with 4 spaces, and while >you can set BBedit to put in 4 spaces when you hit the tab key, it >doesn't recognize those four spaces as a single level of indentation >when you want to delete them, requiring four hits of the backspace key. >Yes, it is, but it really doesn't do python indenting quite right. You state about the incompatibility of the Python indenting scheme and some editors (E.g BBEdit):
:-) Or others can chime in as I suspect they will (which is good). Now that I answered your question, you can answer mine. What I have now is a new and improved Blogging package that combines scripts written in Bash, Python, Perl. Over the past couple of weeks, I resurrected those scripts and added to them, stealing several ideas I used in Drafts and Shortcuts. If you have the BBEdit manual, you can find more info around page 52 or just look in the index. Back when I was blogging regularly from BBEdit, I had written several scripts to make blogging easier. You have to set the window to hard wrap at some column number. You hold down the option key while selecting, but you cannot do this in the soft wrap mode.
#Bbedit python how to
>Side note: does anyone know how to do selection, cut and paste by