[p6w] factored out some functionality into sub indent
[p6w] factored out some functionality into sub indent

ab5tract/november,viklund/november,viklund/november,viklund/november,ab5tract/november,ab5tract/november