def _updateTabStopWidth ( self ) : self . setTabStopWidth ( self . fontMetrics ( ) . width ( ' ' * self . _indenter . width ) )
python set tab spacing
Update tabstop width after font or indentation changed
def _updateTabStopWidth(self):
        """Update tabstop width after font or indentation changed
        """
        self.setTabStopWidth(self.fontMetrics().width(' ' * self._indenter.width))