Could implement a new function py-indent-line-or-region, which would work on an active region.
TAB then would call that instead of just py-indent-line.
OTOH indent-region already exists and is bound to C-M-\
It's not hard to write a py-indent-line-or-region, however note sure if we need this.
WDYT?
Would be nice if Barry or others comment too.
Could implement a new function py-indent- line-or- region, which would work on an active region.
TAB then would call that instead of just py-indent-line.
OTOH indent-region already exists and is bound to C-M-\
It's not hard to write a py-indent- line-or- region, however note sure if we need this.
WDYT?
Would be nice if Barry or others comment too.
Andreas