Closed glenreesor closed 7 years ago
I was looking at this too.
While it'd be nice if this was configurable somehow, I was able to modify the source code to set the tab width away from its default value.
Open pugdebug/gui/document.py and go to PugdebugDocumentContents::init (line 161), and add the following line:
"""
Change tab width to 20px (default is 80px I think...)
"""
self.setTabStopWidth(20)
I placed that after the self.setPlainText
call, but I'd imagine you could put it anywhere after the super
call at the top.
Thanks Robert. Are you still actively developing this? Would you accept pull requests?
On May 4, 2016 8:42:53 AM MDT, romellem notifications@github.com wrote:
I was looking at this too.
While it'd be nice if this was configurable somehow, I was able to modify the source code to set the tab width away from its default value.
Open pugdebug/gui/document.py and go to PugdebugDocumentContents::init (line 161), and add the following line:
""" Change tab width to 20px (default is 80px I think...) """ self.setTabStopWidth(20)
I placed that after the
self.setPlainText
call, but I'd imagine you could put it anywhere after thesuper
call at the top.
You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub: https://github.com/robertbasic/pugdebug/issues/170#issuecomment-216886789
It would be nice if you could change configure the tab width on a pre-project basis.